โœ…
How to create a Custom Validation Formula for Inputs
Savvy provides validation formulas for the most common use-cases, but sometimes our project needs some extra validations that we need to customize for ourselves.

Step 1

Mark the input as Required and select Custom as Validation Formula

Step 2: Creating the Custom Validation Formula

Press the Generate Sample Code button with a formula that fulfills your needs of validation.
1
function validate(value) {
2
return value ? true : false
3
}
Copied!