How to pop up the message while check the checkbox?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 08:02 AM
Hi,
Need to pop up the message without check the check box and the check box should be mandatory field
please help me on this
Regards,
yamini.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 08:08 AM
Hi,
Firstly, only place where a checkbox should be mandatory is where is it non optional. For eg, unless you accept something you cannot move forward. If you make a check box mandatory you take force the user to check the box or walk away.
To Popup a field, you need to write a UI policy and you can add the condition that <check box> is true & uncheck the box that says onload. this way it will run only when some checks the box.
In the Script part you can add the code to pup up(alert/ui page or whatever you want to use)
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 08:43 AM
yammenen,
Without more detail to your question it sounds like you want a checkbox to be mandatory and show a message on submit if it's not checked.
All you need to do is set mandatory to true on the variable or field (you didn't say) and it will have to be checked in order to submit....no scripting needed.
Rick.
P.S. adding more detail to your future questions will help you get better help!