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.
Validation - Alphanumeric but can't start with a number?Asked by rebirthdesign on February 27, 2014 at 03:10 AM
I'm wondering what kinds of additional tricks can be applied to the validation that can be applied to text boxes etc? Presently it can be none; alpha; alphanumeric; numeric; or email.
How can I have alphanumeric but NOT say allow user to start their input with a number?
email Numeric text boxes thanks
There is actually one other option which is very close to your requirement. You you know / have the format of the input text, you can actually use our "Input Mask" property of "Text Box" field. Please check the screenshot below:
Please check this demo form I created for you: http://www.jotformpro.com/form/40573241260950 In this, I have added an input max for 10 character but the first characted cannot be a number. Please be noted that while setting up input max, you should use @ symbol to mask letters inputs, # for numbers and * for both.
Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hope this helps. Do get back to us if you have any questions.
Thanks - this works great on text box field - what about email fields? I don't see the input mask property. Perhaps I'll have to go the js route?
Thanks to please advise!
Input Masking is not enabled into our Email Field. Yes, I think that the only way is to use our source codes and apply a custom validation.
We'll see if we can come up for an example.