submit
A logic attribute that defines if any data in the currently displayed Form is submitted to be used by the Flow. By default all data is always submitted and placed into the Flow's variable context, but should you want the Flow to proceed past the Form while discarding any user input, this attribute does the job. This attribute does nothing in HTML content that is not used as a Form.
This attribute works only if placed onto a button
element of type "submit". If the Form is submitted using the button with this attribute and the value is false
, the inputs on the Form will not have their values delivered to the Flow's variable context. Should the value of this attribute be true
, all data is submitted as usual.
Examples
Create a button for skipping a Form without cluttering the variable context with irrelevant input data:
<button type="submit" name="skip" dyn-submit="false">Skip</button>