Change mandatory fields when I change selection in the pulldown menu
Hi,
I am creating a web page with one pull down menu.
Now, when i select the firstitem in the pull down - all fields in the web page(text box/check box) should become mandatory
When I select second item in the pull down menu - only 1 field should be made mandatory when fillingthe webpage
How I do it? Any help would be appreciated.
Regards,
Balaji
May 29th, 2012 5:41pm
Hi,
I am going to give an idea from Client Script.
Using jQuery or Javascript you can get this behaviour. In my case jQuery is more comfortable than javascript.
Whenever you are clicking OK or Save button in the NewForm or EditForm in the PreSaveItem method capture the drop down value and
based on that make the fields as mandatory or not...
-
Rao.
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 9:34am
Hi,
I am going to give an idea from Client Script.
Using jQuery or Javascript you can get this behaviour. In my case jQuery is more comfortable than javascript.
Whenever you are clicking OK or Save button in the NewForm or EditForm in the PreSaveItem method capture the drop down value and
based on that make the fields as mandatory or not...
-
Rao.
May 30th, 2012 9:57am