Description:
This widget shows a “hyperlink” control on the Form.
Inputs
- ID/Name - Name of widget generated by FlowWright
- Hyperlink Name - Enter description for hyperlink text
- URL - Enter the HTTP URL link
- Open Window - Click open the URL in the new window
- Hide - Select the checkbox to Hide (tick mark)
- Tool Tip - Enter information to display on mouse hover on form render
- Styles - Enter the CSS scripts for widget styles
- Apply Classes - Select between custom classes defined
- Save - Save the input values
- Delete - Remove this form widget from the designer page
- Close - Close the input popup window
Design:

Example:
Let’s build and execute the “HREFDef” example.
- Create a Form Definition called “HREFDef.”
- Drag a “BootstrapGrid, Label, Image, Hyperlink, and Submit” control onto the canvas and arrange them as shown below.

- Double-click the “HREF” widget to configure the “Settings” properties. Enter a name for the control, a name for the hyperlink, and a URL to navigate to. Select the checkbox to open the target in a new window. Check the “Hide” box to hide this widget at runtime. Click the Submit button.

- Select the “Styling” tab. Enter the style script and syntax for the CSS styles. Choose the classes to apply from the global drop-down list. Click the Save button.

- Double-click the “HREF” widget to set the “Other” properties. Enter the tooltip text. Click the Save button.

- Double-click the “HREF” widget to configure the “Globalize” properties. The application will alert you if there is nothing to globalize, as shown below. Otherwise, select a language from the drop-down list, then click the Translate button. Click the Save button.

- Save the Form Definition. Choose Actions > Create Form Instance. Generate a new Form Instance, then check the box to edit it.

- The form appears as shown below. Click the hyperlink to go to the website, then click the Submit button to finish.

- Note: The Hyperlink widget can also be initialized using the jQuery expression, as shown below.
$("#href1").attr('href', "http://www.google.com");
- Alternatively, use the UpdateVariable step to initialize the Urlpath (string) variable and employ the jQuery expression as demonstrated below.
e.URLpath = “http://www.google.com”
$("#href1").attr('href', variable.URLpath);
Definition Sample:
You may download and extract the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.
Click here to download the sample file.