- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2024 08:25 AM - edited 07-07-2024 08:26 AM
Hello everyone,
I have a catalog item with 3 checkbox variables in a row. When the second checkbox is set to true, a message should show up below the third checkbox, and it should reverse if false.
This is what is happening:
- Second checkbox is set to true > The message shows up correctly, below the third checkbox.
- Second checkbox changes its state to false > The message stays in place, when it should disappear.
- Third checkbox changes its state, regardless of its previous one> The message disappears, when it shouldn't because the condition evaluates the second checkbox and not this one.
When I configure the message to show up below the second checkbox, it works perfectly, but it is not where I need the message to show.
Am I missing anything?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 02:32 AM - edited 07-10-2024 02:33 AM
Please try making the following changes in script.
(Hello user is just a demo msg I have added to test, pls add your required message)
Please mark helpful if you accept the solution.
Thanks
Sanjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 06:21 AM
Hi @conradofonseca,
Try writing a onChange Client script of the third checkbox:
and show the field message if the second checkbox is true, else hide it.
Mark the response correct and helpful if the answer assisted your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 02:32 AM - edited 07-10-2024 02:33 AM
Please try making the following changes in script.
(Hello user is just a demo msg I have added to test, pls add your required message)
Please mark helpful if you accept the solution.
Thanks
Sanjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 04:31 AM
Hello Sanjana,
Thank you for your reply. It helped a little, now the message disappears when the checkbox changes from true to false. Why didn't it happen with the configuration I had, if I have the checkbox "reverse if false" selected?
There is one last thing to fix: if the second checkbox is true and the message is displayed, it should not disappear when the 3rd checkbox changes its state.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 06:25 AM
The message showing or hiding should depend strictly on the second checkbox, and it should ignore the behaviour of the third checkbox. I don't know why, but right now it disappears when the 3rd checkbox changes its state.