Hidden Fields

Print Friendly and PDF Follow

If you do not want a field to be visible to the customer on the Aeon web pages, but still need to set a value, you have the option of using a hidden field to insert the value for that field into the database.

This code should be added toward the top of the page right after the other hidden field entries, which are configured as <input> elements, e.g.:

<input type="hidden" name="AeonForm" value="GenericRequestManuscript">

The <input> element must have the type attribute value set to "hidden", the name attribute value set to the database name for the Aeon field, and the value attribute set to the value that should be inserted into that field when the form is submitted.

Configuring the Value Inserted by the Hidden Input

You can use the value attribute to set a static value for the field, for example, the following code sets the RequestType field to "Loan" when the form is submitted:

<input type="hidden" name="RequestType" value="Loan">

In some cases, you can also use the <#PARAM> DLL tag in the value attribute to set a dynamic value for the field. The <#PARAM> tag is primarily designed to store data that was sent from the previous page or entered by the customer. At the top of many Aeon web forms, this tag is configured in the hidden inputs used to store the SessionID and Username. For example, the following hidden input code uses the <#PARAM> tag to set the Username field to the username for the currently logged-in user submitting the web form:

<input type="hidden" name="Username" value="<#PARAM name="Username">">

Questions?

If this article didn’t resolve your issue, please contact Atlas Support for assistance:

Contact Support