-
Notifications
You must be signed in to change notification settings - Fork 19
Dyad Form
Rebecca Madsen edited this page Feb 20, 2019
·
2 revisions
A paginated form that assigns values on a per-dyad basis, to each edge.
The specified form can be used to assigns form values to each applicable edge in the current network. An edge and the form are shown one at a time until all edges have been viewed. Any validation errors must be resolved before the form can advance. Changes to the form are saved upon navigating to the next or previous edge.
In addition to all properties specified in the general interface API, this interface has the following parameters:
Property | Possible Values | Purpose |
---|---|---|
form Required |
A string matching a key in the protocol's forms object. The form specifies edge type. |
This parameter tells Network Canvas which form should be shown for each applicable edge in the network. |
introductionPanel Required |
Object specifying the introductory information before the form is shown. | Used to provide instruction for the upcoming forms. |
introductionPanel.title Required |
A string of text | This string is displayed as large text at the top of the interface content. |
introductionPanel.text Required |
A string of text | This string contains the main body of text and can include markdown. |
{
"id": "alter-edge-form-1",
"type": "AlterEdgeForm",
"label": "Alter Edge Form (friends)",
"form": "myAlterEdgeFormID",
"introductionPanel": {
"title": "Introduction to the alter edge form",
"text": "Alter edge form"
}
},