What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Take Photo Widget reloading form after photo is taken, resulting in no photo being loaded and all data previously entered on the form wiped out.Asked by bookbyowner on June 17, 2015 at 02:12 PM
once i take the photo and select OK on my device the form re-loads as if the SUBMIT button was selected resulting in no photo being loaded and all data previously entered on the form wiped out. This has been tested on several devices and the results are the same. The widget worked properly in the past, what is the issue?
I have cloned and tested your form and Photo Widget is working fine on my end.
The reason why you are getting blank form after you submit your form is because you have set custom URL of your form inside of Thank you page.
When users submit your form the form is actually submitted and you will get Email Notification, but they will be redirected to the new form.
To avoid this you can redirect users to some other URL or to Default Thank You page or Thank You Message.
Hope this will help. Let us know if you need further assistance.
Thanks for the response, still not working on my end. I am aware of the re-direct, i purposely programmed it that way. On my end when I take a photo and select OK from my device to add the photo link to the form, it re-loads the form. Can you clone the form and send me a link to the clone so I can test it on my end? Or, send me a copy of the submission with the photo link?
Are you getting any error messages on it? Also, may I know what device is this? An Android or an Apple device maybe? Another observation, if I may, does this happen when you upload the 2nd or 3rd photo? Or even in the first photo upload it suddenly reloads?
Currently, I'm testing it and debugging in my Android device.
We'll wait for your response.
I am sorry for all the inconvenient this issue is causing you.
I have cloned your form indicated above http://form.jotformpro.com/form/50358079235963 have tested and the form works fine in my end, however, have found it is not mobile responsive, in order to to get that please do as follows:
1 - From the form builde, click on Preferences, select yes on Responsive Form optio, then click on Close Settings button, as shown below:
2 - Access your form in Designer mode, click on Page Layout tab, check on Make This Form Responsive option, as below indicated
3 - Click on Save:
After doing the above described procedure, your form will work in any mobile device.
Let us know if we can further assist you.
Still not working. On mobile device no change, on desktop I see error message: Unable to resolve the server's DNS addres
Were you able to get the widget to respond on your mobile device? After looking at the widget further it mentioned using webcams, does that have anything to do with it?
Please work from this form from now on ...
Unfortunately, I'm unable to replicate the problem. I've cloned the form you mentioned and tested it in my end. Here's my cloned form: http://form.jotformpro.com/form/51755675194971, you can try it in your mobile device and see if it's still having problems even using my form. After that, if mine works, you can test again your form, but before doing that, please try the following: Clear your form's cache and clear your browser's cache. Try different mobile browsers, in my case, I used Chrome in my Android 4.2 OS. Try removing and re-adding the "Take Photo" widget.
See if any of the troubleshoots mentioned works for you. We'll wait for your response.
NOT WORKING. I have pulled up YOUR form on two different Android mobile devices as well as a mobile firefox browser and pictures do not upload. We are also STILL receiving the error stating the form is unable to resolve the server DNS Address.
PLEASE SEND ME A SUBMISSION THROUGH YOUR FORM SHOWING AN UPLOADED PICTURE
Hi, I just did a test submission to the form(http://form.jotformpro.com/form/50357059789974) you asked us to "work from this form from now on ..." , and it was successfully submitted from PC(laptop), no DNS address error was given.
Regarding to the issue in mobile devices (the one that reloads the form when photo is taken, wiping out all filled data), I will send a request to our second level to further test, and get back to you with the results.
First - I'm sorry for all the trouble you have experienced.
Please bear with my long response.
I'd like to explain a few things first, then we can move on to a possible solution:
About the Take Photo Widget and the problem you are experiencing
1. The Take Photo Widget was primarily designed for desktop browsers (as opposed to mobile) - it works best with desktop browsers because these browsers have the requisite ease of access to the webcam (which is different and works differently on mobile).
The take photo widget may not work as expected on your form. This is why instead of seeing a photo preview frame as when viewing the form on the desktop, you get an upload field as a fallback:
We have features lined up for mobile browser support with the Take Photo Widget, but that will take time (considering the vast variations in mobile devices, differing browser standards among other factors). If any headway with this development is achieved, you will be notified on this thread.
2. Android devices are constantly trying to free up RAM, which is why when you click on the "Choose File" Button on your form, it takes you away from your browser to open the camera app or a source for the file.
At this time, the cache which holds the open form on the browser is dumped. Upon returning with the photo you have taken/chosen, the form is refreshed because the previous session has already been dumped.
There is a wide non-directional discussion about this behavior on android forums - its not very helpful.
We've made no recent changes to the Take Photo widget that would prevent it from working as it used to - the only change can only be from mobile browsers - which I'm sure get application updates from time to time.
I'd like you to try the following form using your mobile device, and tell me if the form will be refreshed: http://form.jotformpro.com/form/51761109897970?
The "Choose File" field is made using the upload field:
The idea here is to help you build a functional form that will work on all devices.
I look forward to your response.
Thank you for the response and obvious diligence in troubleshooting my issue. I was unable to take a photo with the test form you created, proving your assumptions the widget is not optimized for mobile. The widget used to work flawlessly and to my knowledge I have not received an update on my device, but one never knows. I will continue to test the widget on my end using different mobile devices to attempt to determine which function with the widget and which do not. Ill post any relevant findings.
Can you recommend a widget that works with mobile will upload pictures to a form?
The File Upload field will only open a file explorer or your phone's gallery that lets you upload a file into a form, I believe it will not open the camera of your phone to take a photo.
For the request of my colleague, TitusN, does your form reloads or refreshes the entire page after you click the "File Upload"/"Take Photo" field in his form?
You can check our Widgets page under the category "Photo" and "File Upload", see which one may worked for you, but as mentioned by TitusN, it seems like this is related to Android OS that reloads or refreshes the page after you click capture a photo using the camera and resuming session in the form. I'll notify TitusN about this and see if he can recommend a better widget that you can use.
Apologies for the inconvenience.
You can disregard my first statement, it seems like it varies on the device, the File Upload field can open apps other than a file explorer or the phone's gallery, in this case depending on the version of your Android OS and the mobile device you're using, in my end I can open the camera app using the File Upload in TitusN's form, my device runs on Android OS 4.2, and I'm viewing the form using a Google Chrome latest version.
We've made some updates to the Take Photo widget that we would like you to try out.
Give it a spin and share your experience.
I forgot to add that you should use the secure link to your form: https://form.jotformpro.com/form/50357059789974
The browser API that the widget uses requires a secure link (https://...)