- ChrisHaslettAsked on August 29, 2016 at 11:32 AM
Are you able to show/hide a field that is supposed to be shown/hidden if the previous field (that is shown/hidden) is filled?
I was having some trouble with regards to some conditional fields on an assessment form of mine. Specifically, I require the person submitting the form to input one picture. When that field is filled, I have condition that tells the form to show another photo field shown asking them to take another picture if need be. It works up to this point but once they fill in the second photo field, I want a third photo input field to show (only once the first and second are filled out). My condition for this instance is that if the second photo field is filled, a third photo input field should show. This is done to shorten the appearance of my form unless more information needs to be given. Are these types of conditional statements possible using Jotform's form editor? Any help would be greatly appreciated. Cheers!
- BorisAnswered on August 29, 2016 at 01:37 PM
Yes, you can have your show/hide conditions nested in the manner that you are describing. Conditions can indeed usually be set up to show field 2 once field 1 has been filled, and then show field 3 once field 2 has been filled, etc.
You can take a look at the following guide on how to set up conditional logic:
Unfortunately, the Take Photo widget does not seem to be working correctly with our conditional logic, meaning that conditions cannot be based on whether the Take Photo widget is filled or not. I have forwarded this to our developers, to enable the form's conditional logic to get the Take Photo widget's state (is filled, is empty, etc).
We will update you through this thread if this gets implemented, but until then, you would have to use another kind of file upload field or widget to achieve your requirement. For instance, our regular File Upload fields, as well as Image Upload Preview widgets, work correctly with our conditional logic:
From my tests, the Image Upload Preview widget prompted me to either take a photo or upload my own image when I used it on a mobile phone, so this may be the best widget to try and use for now to achieve your requirement. You can see a demo form with this widget here:
- ChrisHaslettAnswered on August 31, 2016 at 08:13 AM
Appreciate the quick response. How long can we expect until this sort of problem is fixed?
- BorisAnswered on August 31, 2016 at 08:43 AM
I'm afraid we cannot provide estimates regarding how long it might take to resolve any bug. This will depend on the workload of the assigned developer, and the priority given to the bug by our managers, based on how pressing an issue is and how many users it might affect.
As soon as we will have any update about this bug from our developers, we will be updating you through this thread. Until then, I would recommend using a workaround such as the Image Upload Preview widget, or the File Upload field. Based on my tests, Image Upload Preview widget seems to prompt whether my device should take a new photo, or upload one of my existing images.
I hope this helps.