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

    Zapier Twilio SMS

    Asked by rupertg on May 07, 2013 at 09:37 PM

    Hi there,

    In my form, there is a mobile phone number field.

    Typically, the mobile number of my clients in my country is 0410444666, 0421123456 etc It is a 10 digit number

    However, i have integrated twilio and zapier but these services only seem to be able to send sms to 

    61410444666 instead of 0410444666  and 61421123456 instead of 0421123456

    I want this sms to be sent automatically but without converting it in the required format, i cannot send automatic sms.

    How can i resolve this issue so that my sms are sent automatically.

    sms Mobile phone number format
  • Profile Image

    Answered by dinesh-it on May 07, 2013 at 10:10 PM

    Hi rupertg,

    Unfortunately, Currently JotForm has no SMS Features, But You May accomplish this through your Service Provider SMS Gateway. See Here For Further Details http://www.jotform.com/answers/137087-sms-service 

  • Profile Image

    Answered by rupertg on May 07, 2013 at 10:16 PM

    Hi dinesh,

    I have been successful in integrating Zpier and third party to send sms successfully to myself using jotform. This is because, i have entered the mobile number according to the format.

    However, inorder for the clients to receive sms, they need to have the number in the correct format. I dont want the clients to worry about the formatting of the number, i just want them to enter their normal mobile number, i was hoping to achieve it via jotform.

  • Profile Image

    Answered by dinesh-it on May 07, 2013 at 11:25 PM

    Hi again rupertg,

    You can accomplish that by embedding a javascript in your source code.

    check here for how to download the source code of your form https://www.jotform.com/help/104-How-to-get-your-Form-Source-Code

    after downloading insert the given below  script under your header tag

     

    <script>

    function formatNumber(number){

    number = number.replace(/^04/g,'614');

    document.getElementById("id_of_number_field").value=number;

    }

    </script>

     

    once you embeded, goto to that number filed and call this method using onblur() as shown below 

    <input type="text" id="id_of_number_field" onblur="formatNumber(this.value)"/>

    Hope it helps you, above given code is just for sample and you have to change the id of the field that is given in your form.


    After this, whenever user enters the number and click outside the field the number will change automatically to the above specified format.

    check here for Demo sample ; dinesh.site44.com/js.html 

     

    Feel free to ask any further queries, i even ready to explain it with some screen shots provided your form url.

     

    Thank You. 

  • Profile Image

    Answered by rupertg on May 08, 2013 at 12:07 AM

    Hi there,

    THANKS for the support BUT

    I have some issue with this.

    The issue is, I will be changing the dates every now and then.

    Currently, i am using iframe to display my form on my site. However, if i use "source code" then i will have to manually edit the source code in order to change any dates in the future.

    With iframe, i have been changing dates at jotform backend and is easy and smooth, i even do it via my mobile sometimes.

    However, if i replace my iframe code with html source code then i will have problems in changing the dates.

    Please advise any alternatives.

  • Profile Image
    JotForm Support

    Answered by Welvin on May 08, 2013 at 04:05 AM

    Hi,

    I have tested this function and it seems they don't allow formatting with common numbers. It needs you to put international formatted numbers. Unfortunately, the only way you can make it working is to ask your user to provide international number (Country Code + Number).

    I guess they have to do it this way because of area codes concern.

    Thanks

  • Profile Image

    Answered by rupertg on May 09, 2013 at 12:11 AM

    Thanks, i have resolved this temporarily.

  • Profile Image
    JotForm Support

    Answered by Welvin on May 09, 2013 at 01:42 AM

    Great to know that! Let us know if you need our help again.

    Thanks

  • Profile Image

    Answered by thespanishfactory on November 27, 2013 at 01:35 PM

    Hi rupertg,

    I have the same problem now. Could you please explain me how did you solve it?

    I would really aprecuate it

    Many thanks 

  • Profile Image

    Answered by Cesar on November 27, 2013 at 03:04 PM

    @thespanishfactory

    Kindly create a new thread for your issue so that we may be able to provide you assistance, this way we can avoid any confusion with what has already been discussed on this thread, Thank you.

  • Profile Image

    Answered by thespanishfactory on November 27, 2013 at 03:07 PM

    Well, I was asking rupertg as he solved the probrem. We can talk with other users?

    The problem it is solved anyway