Posting data using http
Автор: David T.
Просмотрено 1408,
Подписчики 1,
Размещенный 0
Hi, I need to send data from a form in the website. Previously I used
Method= "POST"
action="http://www.bulksms.co.uk:5567/eapi/1.0/phonebook/public_add_member?group_id=50963"
The only form options appear to be send by email, or link to a database. My question is, how do I achieve this in Website X5 Evolution.
Размещено
Hello David
You can send an attachment ( add an attachment in the form ) by the mail. But this is an attachment that the client gets from his computer.
Maybe you mean that a file should be sent together with the form ?
If it is to supply the client with a file, you could add a link to the file or a download button.
If this is not what you mean, then please some more information about the purpose.
Kind regards
John S.
Автор
The requirement is to gather three pices of information from a form on the website (first name, last name & tel number) then send that info to our account at BulkSMS.Co.Uk. It was fairly straightforward when it was setup initialy, but the form options are very different in Website X5.
Hello David
You should be able to do this.
The form data can/is sent to the one that fills out the form, and then you can specify a mail-address to receive the form data - this address could be the account ( mailaddress ) at BulkSMS.
And you can also store the data.
If you have email service where you are hosted, then you could have an email that forwards the email to several addresses if this is what you want.
Or do I not understand what you are telling ?
Kind regards
John S.
Hello (again ) David
You can find information about the email-form object here : http://help.websitex5.com/en/v13/pro/index.html?ins_form.htm&utm_source=software&utm_medium=Evolution_13
Kind regards
John S.
Автор
Thanks for the responses. The only way I could find to overcome the issue was by inserting the following code for the form:
<form method="POST" action="http://www.bulksms.co.uk:5567/eapi/1.0/phonebook/public_add_member?group_id=50963" target="_self" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
<blockquote>
<blockquote>
<p align="center"> <font color="#0000B0"> First
Name:</font> <!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-value-required="TRUE" i-minimum-length="3" --><input type="text" name="given_name" size="20" style="border: 2px inset #000080">
<font color="#0000B0">Surname:</font>
<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-value-required="TRUE" i-minimum-length="3" -->
<input type="text" name="surname" size="20" style="border: 2px inset #000080">
<font color="#0000B0">Mobile No: </font> <!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" b-value-required="TRUE" i-minimum-length="12" --><input type="text" name="msisdn" size="12" value="44" style="border: 2px inset #000080"></p>
<p align="center">
<input type="submit" value="Register for SMS" name="B1" style="border: 5px outset #FFFFFF"></p>
</blockquote>
</blockquote>
<input type="hidden" name="fail_url" value="http://www.coggeshallbus.co.uk/failsms.html">
<input type="hidden" name="success_url" value="http://www.coggeshallbus.co.uk/successsms.html">
</form>
-------------------------------------------------------------------------------------------
The forms that I required are now working perfectly.