On Change Client form Remove option not working Dynamically

Kristina2
Tera Contributor

Hi all, 

I have a simple requirement , but not working as expected . 

As per two fields , i have to remove a option 

Field 1 : IF u_os_install_required is NO 

Field 2 : OR  IF u_os_installation_team is "BELLMAWR" or "CUSTOMER" . 

 FIELD 3 : u_database_installation_team - REMOVE THE OPTION "PPS"

This is working as expected . 

 

BUT before submitting, if they change their mind and want to make changes . It is not making the changes . 

 

Also tried form getValue(), this method is not working too . 

find_real_file.png

find_real_file.png

12 REPLIES 12

How many scripts do you have? You have only posted one onChange script. You would need one for both field1 and field2.

HI Aromola, 

 

I posted both, One on Change of "OS INSTALL REQUIRED" and one on change of "OS Installation Team". 

Can you post screenshots of your updated scripts? These should work.

The challenge i am facing here is . Two scripts on the same field . 

 

This is working as expected . 

When the OS install Required is "No" , Iam removing it and when its YES , i am adding it . 

 

The problem here again is one more field . If the  "OS Installation team" is not "PPS-TIE Infrastructure team" , i should again remove that option . So its kind of overriding the previous client script . And the main challenge is , when customer trying to change dynamically , if they change their minds 

find_real_file.png

 

 

Client Script 2 

 

find_real_file.png

Kristina2
Tera Contributor

Hi all , i was able to establish this with two client scripts . 

 

Thank You all