Summary
This script fires an alert on any of the target questions that are left blank when the form is saved. This alert is optional and can be overridden. This script has the same behavior as the check if blank standard edit check (this != “”), with ‘Correction Required’ set to ‘optional’.
Script
<script scriptId="optional-set"> <body> <s:alert> <s:expression> <s:isSet/> </s:expression> <s:correction> <s:string value="optional"/> </s:correction> <s:text> <s:string value="An answer is missing. Please verify."/> </s:text> </s:alert> </body> <target typeId="questions" when="preprocess" shouldReconcile='true' /> <target typeId="go" when="preprocess" shouldReconcile='true' /> <target typeId="here" when="preprocess" shouldReconcile='true' /> </script>
Need more help?
Please visit the Fountayn Contact Information page.