Formfacade supports number response validations such as Is number, equal to, greater than or equal to etc, but it does not have the option to directly check if the input number is divisible by 30. The workaround is to add another short answer question (for example, "Valid number") with formula to calculate the remainder and the response validation to check if it is equal to zero.
Input field
In the Formfacade Edit page, click on + icon to add a short answer question > enter the title (For example, Amount") > mark this as a required question. The user will enter the answer for this question.
Calculate field to check if it is divisble by 30
In the Formfacade Edit page, click on + icon to add a short answer question > enter the title (for example, "Valid amount") > click on the gear icon for this question > Question settings page will be displayed > click Answer > enter the formula Amount % 30 in the Calculate option > click on the Configure link for the Validation option > select Number, Equal to, enter 0 > add a custom error message and click Save.
Comments (1)
Jun 21, 2024
Formfacade supports number response validations such as Is number, equal to, greater than or equal to etc, but it does not have the option to directly check if the input number is divisible by 30. The workaround is to add another short answer question (for example, "Valid number") with formula to calculate the remainder and the response validation to check if it is equal to zero. Input field In the Formfacade Edit page, click on + icon to add a short answer question > enter the title (For example, Amount") > mark this as a required question. The user will enter the answer for this question. Calculate field to check if it is divisble by 30 In the Formfacade Edit page, click on + icon to add a short answer question > enter the title (for example, "Valid amount") > click on the gear icon for this question > Question settings page will be displayed > click Answer > enter the formula Amount % 30 in the Calculate option > click on the Configure link for the Validation option > select Number, Equal to, enter 0 > add a custom error message and click Save.
Add your comment
Add photo