- Go to Assets and locate the landing page that you wish to edit.
- If your landing page does not already contain a form, follow the steps to insert an eTrigue enabled web form into the Landing Page.
- Click the HTML button in the WYSIWYG toolbar to view your Landing Page Template in HTML mode.
- Look through your landing page code and locate the form field that you would like to hide -- it will look something like this:
<tr>
<td valign="top">leadsource:</td>
<td valign="top"> <input type="text" name="x_udf_leadsource9999" maxlength="250" size="25" value="" /> </td>
</tr>
- Remove any <div></div> , <td></td> , <label></label>, and <tr></tr> tags that immediately surround the <input> tag of the field that you wish to modify. When done, the code for the field should look like this:
<input maxlength="100" size="25" name="x_udf_leadsource9999" autocomplete="OFF" type="text" />
- Move the <input> tag of the hidden field along with all field attributes so that it is listed in the code after the opening <form> tag, but before the opening <table> tag as shown below. Be sure not to remove the eTrigue default hidden field named "espFormID."
<form name="etrReg" id="etrReg" action="" method="post">
<input type="hidden" name="espFormID" value="2" />
<input maxlength="100" size="25" name="x_udf_leadsource9999" autocomplete="OFF" type="text" />
<table cellpadding="1" cellspacing="1" border="0">
- Any of the following field attributes can also be removed from the <input> tag of your hidden field:
- size
- maxlength
- disabled
- checked
- readonly
- accesskey
- tabindex
- title
- Change the "type" attribute of the <input> tag so that it says type=hidden:
<input name="Lead" id="x_udf_leadsource9999" type="hidden" />
- Your form code snippet, including the hidden field and a few visible fields should look something like this:
<form name="etrReg" id="etrReg" action="" method="post">
<input type="hidden" name="espFormID" value="2" />
<input name="Lead" id="x_udf_leadsource9999" type="hidden" />
<table cellpadding="1" cellspacing="1" border="0">
- To retain your changes, click either:
- Save: Overwrite the existing Landing Page with your changes.
- Save As: Create a NEW Landing Page that includes your changes.
- After saving your work, you can review your changes on the LIVE web page by clicking on the Live button (next to your Landing Page URL at the top of the screen). A new window in your browser will open, and you will be directed to the LIVE Landing Page.