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.
How to revert DateTimeSingle field back to blank/ clear the contents?Asked by TycenDemolitions on May 30, 2016 at 02:13 AM
Is it possible to revert a DateTimeSingle field back to blank?
See the sample form to demonstrate the problem:
If you click on a field (using iPhone) but don't want to enter something in, can you clear your entry and make it blank again so you can submit a blank entry instead?
there is no back space available or X to delete.
Also if there is a default date in the field can you clear it so you can submit a blank field instead of using the default.
revert JotForm problem sample form blank field
Unfortunately, we can not add a clear button for specific field. But you can add for all fields, clear button:
Let us know if that helps.
Thanks very much for the suggestion. I am aware of this feature however, my form is a long one that has lots of sections and clearing the entire form will have the unintended consequence of clearing all the user's inputted data and leaving incorrect data in the form throws out my excel report.... back to the drawing board for me :-)
A possible workaround I could suggest would be to use a regular Date field.
Then edit the preferences so that the field will be cleared when it is hidden. Simply go to Preferences > Advanced > Show More > and Clear on Being Hidden.
Finally, add a checkbox where we will put the conditions to hide or show the date field.
Here's the Show/Hide condition I added.
Now that it's set, when a user checks and unchecks the checkbox, the data from the date field will be cleared. Here's a demo so you can see it in action: https://form.jotform.com/61507839848975.
You can also clone the demo to your account to use the form.
Please note that the "clear on being hidden" will apply to all the fields in your form. So if you want to hide a field without clearing the data within it, then this workaround would not be suitable for your requirement.
If you need further assistance, please let us know.