I need to set a text field approver in a form to be a persons email based on another field in the form.
The field is a choice field that it is checking. There are 4 choices so it needs to be If then else if?
I was trying if(datacard11.selected.value = "MSS","person1" then I got stuck since I need = "CMS"then on2" and if "JSS" then "person3" with default at end being "person 4"
Does anyone know the syntax?
I was putting in the default of the text field.