...
Name | Description | Screen (Click to view) | |||||||
---|---|---|---|---|---|---|---|---|---|
Workflow Variable | If the form is part of a workflow process, upon saving of the form (by clicking on "Save as Draft" or "Complete" button). The value in this input field will be saved into the corresponding workflow variable named here.
|
Button to clear all selected options in Popup Select Box
- Add a custom HTML element into the form.
- Paste the following code below. Remember to change field_id to the Popup Select Box ID.
Code Block |
---|
<button type="button" onclick="clearAll()">Clear All</button>
<script>
function clearAll(){
FormUtil.getField("field_id").parents(".form-cell").find(".selector_remove").each(function(i, obj) {
$('.selector_remove')[0].click();
});
}
</script>