I'm trying to figure out a way to make both the Parent and Child options required for a cascade field. The exception to the rule is if they select "Other", then there is no child option needed/available.
I haven't been able to find anything in documentation or online on validating values for cascade fields using JSU. I am testing JSU on trial, the only way I see possible is using java regular expression but do not know how to set a regular expression for cascade values.
Take a look at this page from the Beecom Support Knowledge page. That should give you the start you need.
Let me know if you have any questions setting it up.
Thanks,
Tim
Hi Tim,
Thank you this worked perfectly.
Here is my use case for anyone else looking for solution.
I have the options Quality Escalation, Production Escalation, and Other. When Other is select the second option is not required.
(Other|((Quality Escalation|Production Escalation), .+?))
I tested out use case to make all states require a child option and the following regular expression seems to work.
(.+?, .+?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried this logic as well but it's not working.
For example:
Field is Decision and Regular expression is (Passed|((Verification|Termination), .+?))
When Passed is selected and no child is selected, error is thrown.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.