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

    Mobile No Country Code Field

    Asked by nikhilmozika on November 14, 2012 at 06:10 AM

    Hi!

    I want my form mobile nos country code field to be having a default value of +91 because i have all the customers from india itself & secouldlly i am integrating jotform with twilio & lot of visitors tend to make mistakes while filling out the form.

    Page URL:
    http://erescue.co.in/support/buy.html

    Mobile JotForm
  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 14, 2012 at 06:23 AM

    Hello,

    Please use these codes to embed your form so that the country code will be prefilled with +91:

    <iframe scrolling="no" frameborder="0" style="width:100%; height:649px; border:none;" src="//form.jotform.com/form/11023620995?mobileNo21[area]=+%2b91" allowtransparency="true">
    </iframe>

    Hope this helps.

  • Profile Image

    Answered by guest_23234883591055 on November 22, 2012 at 07:27 AM

    Hi!

    I am using the lightbox & feedback embeding style on my website, how do i pass on the value in javascript.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 22, 2012 at 08:29 AM

    Hello,

    You will have to change the embed code's script src from feedback2 to feedback, then add these parameters to your embed code script:

    iframeParameters: {
        'mobileNo21[area]':'91'
        },

    So it becomes:

    <script src="//max.jotfor.ms/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    iframeParameters: {
        'mobileNo21[area]':'91'
        },
    formId:'11023620995',
    base:'http://jotformpro.com/',
    windowTitle:'eRescue Contact Form',
    background:'#FFA500',
    fontColor:'#FFFFFF',
    type:1,
    height:500,
    width:700
    });
    </script>
    <a class="lightbox-11023620995" style="cursor:pointer;color:blue;text-decoration:underline;">Contact Us</a>

    This solution applies to your Feedback Embed codes as well.

    If you come across any difficulties implmenting this, let me know the URL of your webpage (leave the embed codes on it).

  • Profile Image

    Answered by nikhilmozika on November 23, 2012 at 09:08 AM

    Thanks for your prompt support. Everything is fine now.

  • Profile Image

    Answered by moonzkie on November 23, 2012 at 09:28 AM

    Glad to hear everything is working fine now.

    Feel free to contact us anytime if you have further inquiry

    Thank you.

  • Profile Image

    Answered by nikhilmozika on April 30, 2013 at 08:39 AM

    HI!

    Can you please help me out here. The + sign appears to be missing by using the above code.

  • Profile Image
    JotForm Support

    Answered by abajan on April 30, 2013 at 10:11 AM

    @nikhilmozika

    Sorry to hear about this. Did you edit your web page in some manner? Because you stated in the previous reply that everything was working fine. Could we have a look at your page? (The link you provided in the opening post is returning a 404 error.)

    Thanks

  • Profile Image

    Answered by nikhilmozika on May 02, 2013 at 02:13 AM

    No Editing, you can see eRescue.co.in

  • Profile Image
    JotForm Support

    Answered by jonathan on May 02, 2013 at 05:24 AM

    Hi,

    From what I can see on your embedded form's code, it seems the iframe parameter code is not the same anymore to the solution suggested from before.

     

     

    Please update the embedded code using the suggestion by NeilVicente before.

    <script src="//max.jotfor.ms/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    iframeParameters: {
        'mobileNo21[area]':'+%2b91'
        },
    formId:'11023620995',
    base:'http://jotformpro.com/',
    windowTitle:'eRescue Contact Form',
    background:'#FFA500',
    fontColor:'#FFFFFF',
    type:1,
    height:500,
    width:700
    });
    </script>

    Please inform us if the issue remains after updating.

    Thanks.