Reset the select box to none if i select a checkbox on catalog form

naresh110
Giga Contributor

Hi Everyone,

I am trying to reset the select box to none if i select a check box on the catalog form.

like if i select some option and then click the checkbox it should reset to none.

Capture.PNG

Like in above snapshot when i select checkbox the select box should remain as none.

Capture2.PNG

But my issue is that even if i select the checkbox it is showing possibility to select an other option.

when we select that box there should not be any possibility to select another option , if we select some option also it should reset to none.

Can anyone please help me out to resolve this issue.

Thank You In Advance.

6 REPLIES 6

naresh110
Giga Contributor

Hi,



I got it worked.



i have just added script in the UI policy. if condition is true


                                          g_form.setValue('field name', ' ');






Thank You.


Great, enjoy learning. Please mark this conversation as answered.



Please hit like helpur or correct based on the impact of the solution


provided.



On Jun 14, 2017 12:15 AM, "naresh1" <community-no-reply@servicenow.com>