Announcement

Collapse
No announcement yet.

Calling any knowledgeable perl/cgi programmers - (this does concern Actinic)

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

    Calling any knowledgeable perl/cgi programmers - (this does concern Actinic)

    OK,

    I am writing routines to process orders using 2Checkout.com and I am 99.9% done.

    I need just ONE thing.

    I have a script that sits inbetween Actinic and 2Checkout. The only thing is at the moment, that it has a submit button (as it processes parameters in both directions).

    Does anyone know of a way of auto-submitting a form within perl/cgi? I assume the Actinic developers do as the last process of os000001.pl before going to the payment processor automatically selects the "Next" button....

    Thanks

    #2
    Hi Chris

    I'll ask our developers and come back to you with their reply.

    Ben
    Ben Popplestone
    Ecommerce website software

    Comment


      #3
      Does anyone know of a way of auto-submitting a form within perl/cgi?
      Assign a name to the <FORM> tag.

      Insert...

      OnLoad="onLoad();

      into the <BODY> tag.

      and insert the following into the <HEAD> section...

      <SCRIPT LANGUAGE="JavaScript">
      <!--
      function onLoad()
      {
      document.myForm.submit();
      }
      // -->
      </SCRIPT>

      where myForm is the name of the form assigned to the <FORM> tag.
      Ben Popplestone
      Ecommerce website software

      Comment


        #4
        Thanks - have incorporated it - works great!

        Comment

        Working...
        X