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.


  • Profile Image

    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?

    Thanks!

    Page URL:
    http://insideoutwellness.businesscatalyst.com/services-and-appointment<br/>s.html

    masked input phone number different Selection selected
  • Profile Image

    Answered by Sean on March 01, 2015 at 06:28 PM

    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:
    http://form.jotformpro.com/form/50597338243965 







    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.

    Thank you.

  • Profile Image

    Answered by habitpro on March 01, 2015 at 07:31 PM

    Sean, you are awesome! Perfect solution. Works just the way I want it to. BIG THANKS!

  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 02, 2015 at 03:38 AM

    Hello habitpro,

    On behalf of my colleague, you are welcome.

    Do get back to us if you have any questions.

    Thank you!