- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 05:07 AM
Hi All,
I have a field 'Justification' which is a conditional mandatory field, and it's a drop down list from where a user can select a choice. When the 'Justification' field is not mandatory, 'none' is the default choice and the user can submit the form.
The issue is that when 'Justification' is mandatory, if the user just clicks on the drop down list and selects 'None', they're able to submit the form. Is there a way to prevent this and force the user to select a choice from the drop down list before submitting?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2018 06:57 AM
Hi,
Below is what I did:
1. Wrote a onChange client script:
2. Out Put Risk is not mandatory
2. OnChange when value is 2 for Priority
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2018 06:44 AM
Yes. It should work.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2018 06:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2018 03:01 AM
Hi Upender,
I was away since last week. Thanks for your response. I'll test and see. Do you mind giving your email address please.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2018 06:50 AM
Upender, Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 09:31 AM
Are the options in your drop-down variable being populated from a script or from the Question Choices tab of the Select Box variable (see below):
If you are just using the tab that you see above then what I mentioned to do in an earlier comment WILL work. Make sure that you do not have a Question Choice of "None" and then check the Include none box.
Let me know if you are using a script to populate your drop-down variable instead of the Question Choices tab though, because your resolution will be different.