Hi,
I have a picklist on the entity showing several values. I would like to use javascript function, where based on the picklist value, record opens with predefined Form. I know each form has unique ID, on form itself is called currentformid = "GUID".
I know I would have to find out what the picklist value is, then have if of case statement. What I don't know is how to populate/set given attribute (currentformid).
So far I got here:
switch (picklist_value) {
case "1":
"set_desired_form"="ID" //Default Form
break;
case "2":
"set_desired_form"="ID" //Customized Form
break;
Ideas welcome
Many Thanks
Yuma