PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Modify form code

  1. tinker
    Member

    Hi,

    I need to edit the form code and currently can't see options to do so. To save me explaining and most likely confusing I have pasted below what I actually need to edit.

    It would be great if you could let me know if this is possible. Apologies for the large lump of text below but it is the clearest way to get my question across.

    Thanks.

    ---

    1. Amend the <form> tag to include the bits in bold below:

    <form class="jqtransform" action="http://livecandy.flg360.co.uk/api/APIHTTPPost.php" method="post" onSubmit="javascript: populateHiddenFields(this); return fncValidateForm(this);">

    ---

    2. Add in these hidden fields:

    <input type="hidden" name="intLeadGroupID" value="10481" />
    <input type="hidden" name="strSource" value="" />
    <input type="hidden" name="strMedium" value="" />
    <input type="hidden" name="strTerm" value="" />
    <input type="hidden" name="intSiteID" value="0" />
    <input type="hidden" name="intReferrerBuyerID" value="0" />
    <input type="hidden" name="strAPISuccessURL" value="http://www.ecfunctionbands.com/thank-you" />
    <input type="hidden" name="strAPIFailURL" value="http://www.ecfunctionbands.com/error/" />

    <input type="hidden" name="strLeadData44" value="" />
    <input type="hidden" name="strLeadData45" value="" />

    ---

    3. The old form was formatted with special <label> tags as well as name= and id= parameters for each <input> field. This needs to be replicated in the new form. The purpose of this is to link form fields to FLG database fields for automatic importing:

    <div class="rowElem">
    <label for="strLeadFirstName">First Name<span class="red"> *</span></label>
    <input type="text" name="strLeadFirstName" id="strLeadFirstName" value="" />
    </div>
    <div class="rowElem">
    <label for="strLeadLastName">Last Name<span class="red"> *</span></label>
    <input type="text" name="strLeadLastName" id="strLeadLastName" value="" />
    </div>
    <div class="rowElem">
    <label for="strLeadEmail">Email<span class="red"> *</span></label>
    <input type="text" name="strLeadEmail" id="strLeadEmail" value="" />
    </div>
    <div class="rowElem">
    <label for="strLeadPhone1">Mobile Number<span class="red"> *</span></label>
    <input type="text" name="strLeadPhone1" id="strLeadPhone1" value="" />
    </div>
    <div class="rowElem">
    <label for="strLeadData1">Comments</label>
    <textarea name="strLeadData1" id="strLeadData1" width="250" height="250">Please let us know which acts in particular you are interested in</textarea>
    </div>

    Posted 12 years ago on Monday June 18, 2012 | Permalink