Hi everyone,
First of all I would like to thanks Chronoforms for their excellent work.
I am making my first web site and I have found Chronoforms very helpful.
But,I have problem with curl plugin action. I use Chronoforms_V4.
In my form, there are 3 text boxes (name,phone and date)and the submit button.
I want to make the form sending sms with the above three values (name,phone and date) in a mobile phone (constant value) when somebody submitting the form.
The code for SMS HTTP API from the sms company is:
In order to send an SMS you must make a GET request of the following URL:
The parameters of this request are:
username (required) The user name
password (required) The user’s password
from (required) The sender identity of the message
to (required) The message recipients, comma delimited without spaces
message (optional) The text message
All the above parameters have to be url encoded.
In the Curl action in the target URL I write:
and in the Params/Fields map:
The problem is that the text of the sms that comes in the mobile phone is : {name}+{phone}+{date} and not the value from the form.
I have tried a lot of times in different ways but i can't find how to make the message of the sms load the value from the form.
Thanks in advance
First of all I would like to thanks Chronoforms for their excellent work.
I am making my first web site and I have found Chronoforms very helpful.
But,I have problem with curl plugin action. I use Chronoforms_V4.
In my form, there are 3 text boxes (name,phone and date)and the submit button.
I want to make the form sending sms with the above three values (name,phone and date) in a mobile phone (constant value) when somebody submitting the form.
The code for SMS HTTP API from the sms company is:
In order to send an SMS you must make a GET request of the following URL:
https://bu..../api/http/send.php
The parameters of this request are:
username (required) The user name
password (required) The user’s password
from (required) The sender identity of the message
to (required) The message recipients, comma delimited without spaces
message (optional) The text message
All the above parameters have to be url encoded.
In the Curl action in the target URL I write:
https://bu..../api/http/send.php?username=xxx&password=xxx&from=xxx&to=12345678&message={name}+{phone}+{date}
and in the Params/Fields map:
name={name}
phone={phone}
date={date}
The problem is that the text of the sms that comes in the mobile phone is : {name}+{phone}+{date} and not the value from the form.
I have tried a lot of times in different ways but i can't find how to make the message of the sms load the value from the form.
Thanks in advance