Sending an SMS message on submission
We looked at the built-in ability of ChronoForms to send e-mails in Chapter 2, E-mailing Form Results. Sometimes though you need something more immediate — like a text message sent to a mobile phone. This isn't a built in feature, but it's not hard to add.
Getting ready
You'll need to find a web service that will send SMSes for you. It's possible that your phone provider has a service; but for this example we'll use the API from Clickatell (http://www.clickatell.com) who claim to cover over 800 networks in more than 220 countries.
You'll need to sign up to a service and find the specific details of its API. Clickatell offers ten free credits for testing.
You'll need a simple form to test with; if you don't have one then our standard newsletter form will do perfectly well.
How to do it...
1. We are going to use the ChronoForms cURL plug-in for this recipe. This is one of the ChronoForms plug-ins that comes with the installation and is accessed from the left...