Adding buttons/links to forms

To add buttons or hyperlinks to your form:

  1. Click on the drop down menu next to the icon of the Form Designer toolbar.
  2. Select “Button/Link Row” from the drop down menu.
  3. The dialog will be displayed where you can define operations that your buttons will perform – one button per operation. See Adding/Editing Panel Operations. The Operation dialog has a checkbox that specifies whether to generate a hyperlink rather than a button.

You can also add buttons when you specify HTML for the HTML row (see the previous section). To do this click on the “Add Button” button displayed on the dialog where you specify the HTML code. You can then specify the operation that will be performed when the user clicks on the button. The button itself will be styled according to the currently used theme. Note that Aware IM will generate a special HTML element representing the button. You do not need to understand what this element contains, but the button will be properly generated at run time. If you want change the parameters of the button you have to re-create it – you cannot edit it.

Alternatively, you can provide an HTML hyperlink using one of the Javascript operations, for example:

<a href=”#” onclick=”AwareApp.startProcessFromForm (‘My process’, ‘main’, this, true)>My Process </a> 
  • Last modified: 2022/09/13 18:15