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 can I add a "country code" field to the phone number label on my form? Thank you.

    Asked by esval on January 23, 2013 at 02:39 PM
    Page URL:
    http://www.esvalmodels.com/order_form_jotform.html

    Screenshot
  • Profile Image
    JotForm Support

    Answered by EduardoMendez on January 23, 2013 at 03:13 PM

    Hi there, 

    You are able to create your own custom fields if you wish.

    Here is a sample of this:

    http://www.jotformpro.com/form/30225631286954?

    Feel free to clone the form to see how it is made.

    the Custom phone number field with the country code is made of:

    Three "Free Text HTML" fields (label and the two dashes), and three "Text Box" fields (Country Code, Area Code and Phone Number).

    I have used CSS for the positioning of the fields and also to hide the labels on the Text Box fields.

    I then used the validation tools on top of the page to make sure that the user enters numbers and that the area code is 3 digits and phone number is 7 digits.

    You can give it a try or if you would like me to set something like this on your form, simply let me know and I'll be glad to assist you!