Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2011 - Load Form based on picklist/field value

$
0
0

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


Viewing all articles
Browse latest Browse all 8223

Trending Articles