Adding query string code to a form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • iainfourie
    Private

    • Dec 2007
    • 2

    Adding query string code to a form

    Hey all

    I'm relatively new to web development but am loving BV and trying to use it to understand HTML and PHP as opposed to just a shortcut.

    I've set up a site: http://www.cofunk.co.za
    Currently there's a form there while I finish the site, but I want to add a query string to it, to communicate with my SMS server.

    The server expects a query string to a URL: http://www.XXXXX.XX.za/API/system/do_sms.aspx

    with a final result including paramaters as follows:
    http://www.XXXXX.XX.za/API/system/do_sms.aspx?username=test&password=t
    est&from=27825554321&to=27825554321&message=Test&R efnum=1234


    I understand the process and the query string and have managed this with good old fashioned hand coded PHP form.

    What I would like to do is add this to a BV form. The result would be that when someone fills in the form they would get an SMS on their phone immediately, saying something like "thanks for signing up". So the query would have to 'read' the cellphone number inputted by the user.

    Even better would be if i could identify parameters to customise the message... so the SMS would say "Hi Iain, thanks for signing up"

    So the questions:
    - is this possible in BV using form wizard?
    - could it all be triggered with an action on the submit button?

    and while i'm at it... I've not found a good tut on the action parameter in item properties... any suggestions?

    Thanks all for your time.

    Iain
    South Africa
Working...
X