- dmichaelsAsked on February 20, 2011 at 06:12 PM
I have a form (Clone of ...) where I made the payment object required. It displays each item with a checkbox, but unless each and every checkbox is selected the "Required" restriction is not satisfied and it can't be submitted.
I've played with this for a long time and finally figured out that it only acts like this, if the field is conditionally displayed.
Do you plan to attend our dinner?
If they click Yes, display the payment field which offers these
2 items with quantity option.
How many Adults at $18 each
How many children at $10 each
As described above, unless you make a reservation that includes both Adults AND children, the order can't be submitted.
- JotForm FounderaytekinAnswered on February 22, 2011 at 10:09 AM
Unfortunately, the conditions do not have the ability to make fields required on the fly. I added this as a feature request.
- dmichaelsAnswered on February 22, 2011 at 10:32 AM
Until the new feature is developed, I moved the field that I want to be conditionally required onto Page2. Then I made a condition to skip page 2 if the condition isn't met. It's a bit hokey and not as elegant looking, but until the new feature is developed, it will have to do. Am I really the first one to notice this?
Any idea of when this might make it into production?
- JotForm FounderaytekinAnswered on February 22, 2011 at 09:30 PM
I don't think it has been asked previously. Usually, people hide the required field completely using conditions and the problem is solved that way.
I can't say when/if we can implement this.
- dmichaelsAnswered on February 22, 2011 at 10:17 PM
But you can't hide the field completely if you want it to be required.
As in my example above:
Will you be attending the dinner?
(If yes, display the "How many adults at $18 each" and "How many Children at $10 each" field)
If they said "Yes", when I display the "How many" question, I want it to be required.
If I do that, then they seem to have to RSVP for BOTH Adults AND Children or they don't satisfy the Required property of the field.
It doesn't seem an unusual situation.
- JotForm FounderaytekinAnswered on February 24, 2011 at 03:07 AM
Is this happening on a specific blowser? I tried your form and I was able to click on the Next button without being required to check the Children option.
I see that you are using Internet Explorer 8. I checked the same form on IE8 and still did not have any problem.
- dmichaelsAnswered on February 24, 2011 at 07:07 AM
That's because on the form you looked I tried a work-around, putting the payment field on a second page, then skipping that page if they said "No, we're not coming".
If you look instead, Clone of Shabbat Across America 2011 (not v2), the required payment field fails unless you are paying for BOTH Adults AND Children.
As best I can tell, the difference is that on the v2 form, the payment field itself is not conditionally displayed. THAT seems to make the difference.
I've tried this using IE8 and Firefox with the same results.
- JotForm FounderaytekinAnswered on February 25, 2011 at 12:37 PM
One of our developers will look into this and get back to you next week. Thanks for your patience!
- dleflangAnswered on April 22, 2011 at 12:50 PM
this may be a similar issue, or I may just need to be pointed in the right direction:
I need to make a child question appear only if condition met. This is easy.
But if condition is met, I need that newly appeared question to be required.
Right now, if the condition is not met to make the child question visible, child question is still required.
I need child question to be required only if it becomes visible.
- JotForm SupportNeilVicenteAnswered on April 22, 2011 at 02:04 PM
It would be better if you create a separate thread so that we can take care of your issue in a more efficient manner. Our team of supporters are early waiting to assist you. Thank you for understanding.