Skip to main content

Use custom input fields

You can add custom fields to form-input tags. These fields are used to capture additional session information from the GUI. The information can then be used by interface programs and external systems for auditing and internal purposes.

Bravura Security Fabric provides four custom fields, CUSTOM[1-4]. Each field is associated with an OPC[1-4] event in Bravura Security Fabric . When a user submits a form that includes a custom field, the corresponding event code is written to the session log and the value of the custom field is stored as the event result. The custom field and its value are also passed to any listening exit traps.

To implement custom fields that are accessible to the web-modules, follow the procedure described in Change the layout , and add the fields to the form-input tag in the appropriate m4 file.

Examples

The following example is the general format for using custom fields in form-input tags:

<form name="theform" method="post" action="%PROGRAM%" autocomplete="off">
   <INPUT type="hidden" name="CUSTOM1" value="value1">
   <INPUT type="hidden" name="CUSTOM2" value="value2">
   <INPUT type="hidden" name="CUSTOM3" value="value3">
   <INPUT type="hidden" name="CUSTOM4" value="value4">
 </form>

A practical application of this feature is to prompt the user to enter additional information that may be needed for company purposes. For example, if a user were to lock themselves out of Bravura Security Fabric , they can be prompted to enter their phone number to receive a call back from the help desk. In this case, you can modify the m4 files to include the following:

Please enter your phone number:
<input type="text" name="CUSTOM1">

You can configure an interface program to dump the session information to a ticket, which can be used by the help desk to conduct an appropriate follow up for the locked out user.