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 get rid of the default value of 0 in the Mask Input widget?Asked by habitpro on March 01, 2015 at 04:52 PM
Hello, I'm using the "masked input" widget as a phone number field so I want the default value to be blank but it continually reads a "0". Any way to actually default to blank?Also, I'm using the time slot widget as an appointment tool. I've set it up so there are several time slots that can be selected (9:00 am, 10:00 am, 11:00 am, etc.) but I want the user to be able to select a date first. I've inserted several different date widgets, trying to get them to work with the time selection to no avail. How can I get them to work together to decrease the "slots available" as they are selected and submitted?
masked input phone number different Selection selected
Sorry but base on my checks it appears that the Mask Input field will always store a value of 0 as long as a numeric mask is set for that field. I did some test and even though the was default value was not set - empty - 0 will appear regardless.
Here is a possible work around that you can explore. You can add a text box to your form and set a numeric input mark for that field.
You can view this test form:
I moved your other issue to a new thread so that it can be discussed separately to avoid confusion on this thread. You can track the updates made to that issue by following this link: http://www.jotform.com/answers/524947
Do let us know if the alternative provided is an adequate one.
Sean, you are awesome! Perfect solution. Works just the way I want it to. BIG THANKS!
On behalf of my colleague, you are welcome.
Do get back to us if you have any questions.