5 Replies Latest reply on Oct 21, 2011 1:21 PM by George_Johnson

    submitForm - aFields value

    sindhuxyz Level 1

      Hi,

       

      I can use submitForm Adobe Javascript function using form but now  ..

       

      I want to execute submitForm function without form, I want to pass value to aFields; Is it possible?

       

      My code looks like below:

      var aSubmitFields = new Array( "from_name","from_email", "to_name1", "to_email1");

      this.submitForm({               cURL: "http://www.serversite.org/cgi-bin/taf/sendit.cgi",               aFields: aSubmitFields,               cSubmitAs: "HTML" // the default, not needed here         });

       

      So, my problem is: how to define aFields value as well.

       

      Any advise?

       

      Thanks