Hi,
I am working on a form in ConfiForms. I would like to add or remove certain entries conditionally, some of which I'd like to make required. Here's an example:
Entry1 - Dropdown - Yes / No - Required
Entry2 - Text
Entry3 - File
If Entry1 = Yes, show Entry2 and Entry3, and make them required.
If Entry1 = No, hide Entry2 and Entry3 and make them not required.
Right now, I'm able to hide/show the entries no problem, but if I make Entry2 and Entry3 required, then when you hide them you can't submit the form, because they are empty.
I can't seem to figure out how to make them not required (if it's possible).
I could also set them to default values, but I can't seem to get that to work for a file entry box.
Any suggestions?
You can achieve the same effect by adding two rules (two Confiforms Rules for Field Definition macros) ... one to Show/Hide the second field, and the other to make it required.
For the second macro, the Action to execute would be Validation rule, and rule itself would simply be .+ (any non-empty value).
Adding this question https://community.atlassian.com/t5/Marketplace-Apps-questions/Can-I-use-the-rules-macro-to-make-fields-mandatory-based-on/qaq-p/1025414 for cross-reference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Willy - just curious if you were ever able to figure this out? I have the a similar issue I am looking to solve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately I did not find an exact solution. I ended up making the potentially hidden fields as not required for now until I can find a better option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aw bummer! Well I will update if I find a solution. I think this could be a very helpful feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.