Would like the ability to insert country code in phone numbers

  • elimed
    Asked on August 18, 2017 at 11:35 AM

    Hi, I need your help, I´ve to put the fiel cellphone into my form, let me tell you that in Argentina we use: the area code + the numer 15 + the telephone number (Ex. 011-15-52392030)But in my form I only need the code area and the cellphone number without the number 15. That is why i wpukd like to write the numer 15 out of the field. 

    I send you a jpg explaining you what I need.

    Do yuo have spanish assistance?

    Thankyou.

    Jotform Thread 1226971 Screenshot
  • David JotForm Support
    Replied on August 18, 2017 at 12:38 PM

    For this, the only thing I can recommend would be to use the full phone number field including the country code:

    Would like the ability to insert country code in phone numbers Image 1 Screenshot 20

    If you need to automatically insert the 15 in to the number, that would need to be done conditionally and would likely require two separate fields instead of one.  If that is the case, let us know and we can show how that is done as well.

  • aubreybourke
    Replied on August 18, 2017 at 12:52 PM

    I made a demo for you:

    https://form.jotformpro.com/72294976504971

     

    It uses this CSS code:

    .phone-separate:after {
        content : "15-";
    }

    How to Inject Custom CSS Codes

  • elimed
    Replied on August 18, 2017 at 1:23 PM

    thank you!!! that was what I needed!!! :)