- creshjhoAsked on February 13, 2017 at 07:56 AM
Hi I would like to know. Is is possible for the person submitting the form to receive a sms saying thank you.
The form already has mobile number field. I just need some idea on how can he receive an sms if he clicks on submit button on the form.
Thank You for your help.
- JotForm SupportNik_CAnswered on February 13, 2017 at 10:05 AM
You can achieve that by using the Webhooks integration: https://www.jotform.com/help/245-How-to-Setup-a-Webhook-with-JotForm
And here is how to send instant notifications by using Webhooks: https://www.jotform.com/blog/85-Send-Instant-Submission-Notifications-with-Webhooks
PHP script examples (2nd example is the SMS) https://www.jotform.com/help/248-Webhook-PHP-Script-Examples
Hope it helps.
If you have any further questions do not hesitate to contact us.
- creshjhoAnswered on February 14, 2017 at 03:46 AM
I have created a web hook url
after this I am lost. Should I create that page on my website.
Also my main intension is to send Thank You as a text sms to the client who submits the form and who has mobile number entered in the form.
Thanks & Regards,
Asif Shaikh Mohammed
- JotForm SupportNik_CAnswered on February 14, 2017 at 05:22 AM
I tried to open your PHP file but I couldn't:
Basically, you have to create a PHP page and store it on your own server, then that file's URL you put in Webhooks integration. What is also important is that you have to place your SMS service provider API information in that PHP script. It would help if you share from which form you want to send the SMS and the PHP file you created.
We'll wait for your response.
- creshjhoAnswered on February 14, 2017 at 08:23 AM
- AIDANAnswered on February 14, 2017 at 11:15 AM
Although I cannot examine the PHP code that you are using, I can point you to the Webhook PHP script examples guide that my colleague mentioned: https://www.jotform.com/help/248-Webhook-PHP-Script-Examples where there is a section named "2. SMS Notification - Send SMS after form submission using your SMS Provider's API." with an example in it.
If you need further assistance please let us know. We will be happy to help. Thank you.