13 Replies Latest reply on Jun 24, 2009 5:15 PM by kglad

    Hyperlink button with variable from text input field

    bmbraa

      Hello,

       

      I have a text input field called 'phone' and a button with the GetUrl function.

      Button script looks like this:

       

      on (release)
      {
      getURL("http://url/sendlink.page?country=160&phone=phone&keyword=33&msgtype=26", "", "POST");
      }

       

       

      First of all when I press the button nothing happens. When I paste the link directly into my browser everythinbg works as it should. But not from flash file.

       

      Second I need help with adding the 'phone' variable into the hyperlink. What do I write? Something like this:

      http://url/sendlink.page?country=160&phone=#form.phone#&keyword=33&msgtype=26http://url/sendlink.page?country=160&phone=#form.phone#&keyword=33&msgtype=26

       

       

      Please help me. Thanx!