Posting variables to a form/database

Jul 31, 2012

Hello,
I've looked this up a bit but haven't come up with anything yet. Does anyone know to turn this html into a javascript command for storyline to post when I click a submit button. I have the whole posting to a text file javascript down, but I don't know how to submit a name or email to this database at infusionsoft. Here is the code for their form. Thanks!

<form accept-charset="UTF-8" action="https://vw110.infusionsoft.com/app/form/process/4711ac663a66719c0c94d12adebecf17" class="infusion-form" method="POST">

    <input name="inf_form_xid" type="hidden" value="4711ac663a66719c0c94d12adebecf17" />

    <input name="inf_form_name" type="hidden" value="Homepage Test" />

    <input name="infusionsoft_version" type="hidden" value="1.26.4.22" />

    <div class="infusion-field">

        <label for="inf_field_FirstName">First Name *</label>

        <input id="inf_field_FirstName" name="inf_field_FirstName" type="text" />

    </div>

    <div class="infusion-field">

        <label for="inf_field_Email">Email *</label>

        <input id="inf_field_Email" name="inf_field_Email" type="text" />

    </div>

    <div class="infusion-submit">

        <input type="submit" value="Submit" />

    </div>

</form> 
1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.