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.

function validate(value) {
  return value ? true : false
}

Last updated

Was this helpful?