Skip to main content

Troubleshooting

Common issues and solutions when building forms.

Form Validation Issues

If validation isn't working as expected:

  1. Check that validation rules are correctly configured
  2. Ensure custom validation JavaScript returns the expected values
  3. Test with various input scenarios
  4. Check browser console for JavaScript errors

Calculation Problems

If calculations aren't producing expected results:

  1. Verify the formula logic
  2. Check that referenced fields exist and have the correct keys
  3. Ensure numeric fields contain valid numbers
  4. Add console.log() statements to debug complex calculations

Conditional Logic Failures

If conditional logic isn't working:

  1. Verify the condition references the correct field key
  2. Check that the comparison operator is appropriate
  3. Ensure the comparison value matches the expected format
  4. Test with simple conditions first, then add complexity

Form Submission Errors

If form submission fails:

  1. Check that all required fields are completed
  2. Verify that custom validation passes
  3. Look for server-side validation errors

By mastering these advanced techniques, you can create sophisticated, user-friendly forms that meet complex business requirements while providing an excellent user experience.