Hi @SumanKoduri ,
Do you want to display text in drop down based on the value of this field?
Could you tell me
1)what your data source is?
2)what data type of this field?
1)If it is number type, try this solution:
Step1: unlock this field in the form, delete the textinput in this data card, insert a drop down in the data card
Step2: set the drop down's Items:
["","Reg","Front"]
set the drop down's Default:
If(ThisItem.fieldname=0,"",ThisItem.fieldname=1,"Reg",ThisItem.fieldname=2,"Front")
set the datacard's Update:
If(drop down1.Selected.Value="",0,
drop down1.Selected.Value="Reg",1,
drop down1.Selected.Value="Front",2)
//please replace with the fieldname and drop down name
Then the drop down will display text based on this field value and update number based on the selected text value.
2)If it is number type in sharepoint list, try this solution:
Step1: unlock this field in the form, delete the textinput in this data card, insert a drop down in the data card
Step2: set the drop down's Items:
["","Reg","Front"]
set the drop down's Default:
If(ThisItem.fieldname.Value=0,"",ThisItem.fieldname.Value=1,"Reg",ThisItem.fieldname.Value=2,"Front")
set the datacard's Update:
If(drop down1.Selected.Value="",{Value:0},
drop down1.Selected.Value="Reg",{Value:1},
drop down1.Selected.Value="Front",{Value:2})
//please replace with the fieldname and drop down name
Then the drop down will display text based on this field value and update number based on the selected text value.
Best regards,