When LiveCycle Designer ES form designs include one indirect submit button, LiveCycle Workspace ES hides the indirect submit button and displays its own Complete button:
- Indirect submit buttons include script that point to the actual submit button on the form. The submit button performs the data submission and is typically hidden.
- When users click the Workspace ES Complete button, the script of the indirect submit button executes and causes the hidden submit button to submit the form.
The script of the indirect submit button must use a static reference to the actual submit button. If the script does not use a static reference and instead resolves the submit button at run time, Workspace ES does not hide the indirect submit button on the form.
To include a static reference to the submit button, the script includes the full path to the submit button.The following example script includes a static reference to the submit button named RENDERAGAIN. When used in the click event of an indirect submit button, the indirect submit button is correctly hidden when the form is displayed in Workspace ES:

