Creating a Form Fill Policy for Autosubmission

  1. Click Policies > Policies.

  2. Select the policy container, then click New.

  3. Specify a display name for the policy and select Access Gateway: Form Fill for its type.

  4. (Optional) Specify a description for the Form Fill policy.

  5. In the Actions section, click New, then select Form Fill.

  6. In the Form Selection section, select Form Name and specify topaz in the text box.

  7. In the Fill Options section, specify all the input fields and select the options that you want.

  8. In the Submit Options section, select Auto Submit.

  9. Select Enable JavaScript Handling.

  10. Select Functions to Keep and specify the JavaScript functions that need to be retained when the form is being automatically submitted. For the example form, specify the following functions:

    function dvdRegisterSelect()
    function enableAll()
    function verify(f, bSubmitToSelf)
    function printThisView()
    function tpzDrillTable(a,b,c,d)()
  11. Click OK.

  12. Select Statements to Execute and specify the form action that needs to be performed when the form is submitted. For the sample form, specify the following statement:

    function executeJavaScript()
    {
        tpzDrillTable('','Login','0','listdetail');
    }
    executeJavaScript();

    You must perform this step to execute the functions configured in the Functions to keep section because Access Gateway does not process HTML to include the LAGSubmitForm() function.

  13. Click OK.

  14. On the Policies page, click Apply Changes.