Form Conditions
All about form conditions
Cornerstone Forms comes with a number of different conditions which will help you build out pages and forms.
Form Submitted
This condition will check if the current Form Context has had a submission. This can be useful by hiding the form content on a submission. By using the "No" modifiy this can display an intro message helping the user on the form.
Form Submitted Without Errors
This differs from Form Submitted because it only triggers the yes condition when the form had no errors. Using the no modifier would mean that the form submitted and has an error.
Form Errors
This condition checks whether the current Form Context has any validation errors. Using Yes will trigger when errors are present, making it useful for displaying error messages or styling. Using No means the form has no errors.
User has Submitted
This condition checks whether the currently logged-in user has ever submitted this form, based on stored submission data. Unlike Form Submitted, which only reflects the current page request, this persists across sessions. Using Yes can gate content for returning submitters, while No can show a form only to users who have not yet submitted.
Note: This condition requires a logged-in user and a valid Form Context ID. It will not function correctly for guest users or outside of a form context.
File Upload
By using the name property of either a file input or a Dropzone, this condition checks whether a file was uploaded for that field.
Exists— A file was uploaded for the specified field name.Empty— No file was uploaded for the specified field name.
See something inaccurate? Let us know