
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 07:38 AM
Hello everyone!
I need some assistance today. I have a custom application (IBM Resilient Integration) that I built out for my security response team and they would like to have a modification done to the checkboxes. Yes, I have already approached them to use select boxes for the selections since it would be easier but they want the users to have to opportunity to select one or more checkbox while making a selection mandatory with an alert if nothing is selected.
Below are the checkboxes that I'm using:
Any guidance or help is greatly appreciated!
Thanks,
Terry
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 12:45 PM
Yes, understood the problem.
The earlier code returns error when atleast one of them is false.
so instead of || use && and then it will fire only if all of those are unchecked.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 12:32 PM
Okay the first one didn't work still allowed me to submit.
Trying second solution now.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 12:34 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 12:38 PM
Perfect, so just place false in double quotes in the earlier if condition and it should work.
Mark the comment as a correct answer and other comment(s) as helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 12:42 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 12:44 PM
Also noticed that when I selected all the checkboxes it submitted without any error message so maybe we need to tweak the code again.
Wow all of this for my security team.