0 Replies Latest reply on Oct 9, 2008 4:45 PM by Peter Griggs

    Passing a hidden password via form field

    Peter Griggs
      I have successfully done this with an html form but don't know how to accomplish the same thing in Flash. Here is what I've done in html:

      <table><tr>
      <td><form name = "form1" method="post" action="https://www.site.com/index.php"><input name="password" type=hidden value="99999">
      <a href="javascript:void(document.form1.submit())">LI NK</a></form> </td>
      </tr></table>

      In the past I've been able to write a an onclick event in Flash but for whatever reason (lack of intelligence on my part tops the list) I can't get it to work this time. This is an action associated with a button. Here is an example of what I've done in the past in Flash:

      on (release) {
      getURL("https://www.site.com/index.php", "_blank", "POST");
      set(password, "999999");
      }

      So, am I missing something? Is there an easier/better way to accomplish this?