Creating an Interview Event Dialog Element
You use an interview event dialog element to add a button or hyperlink to a dialog to connect to an external data source in a HotDocs Advance interview. You can also pass data from the interview to a JavaScript function in your own application. This may be useful if you wish to display a list of answer options or overlay a set of answers.
To create an interview event dialog element
- Open Component Studio.
- From the components list, open a dialog for editing.
- In the Contents and Layouts tab, at the bottom of the component editor, click the interview event dialog element icon.
- In the Event Name field, type a name for the new dialog element.
- Use the Variable Type drop-down to select a variable type.
- Use the Linked Variable drop-down to select a variable from the dialog.
- Use the Type drop-down to select how the link is displayed:
- Button – A grey button with squared edges containing the text or image selected below. Use the Size fields to set the button's size. The first box sets width, and the second height.
Images in buttons are cropped to button size.
-
- Hyperlink – The chosen text formatted in as a hyperlink (blue and underlined) or the chosen image displayed without border.
- Choose either:
-
- Text - type the text you want to display on the dialog in a button or as a hyperlink
- Image - use the Browse button to add the image you want to display on the dialog in a button or as a hyperlink
- Click OK.
Next steps:
Working in HotDocs Advance, create a custom interview event webhook