Skip to content

0.7.2

Latest
Compare
Choose a tag to compare
@jyoungblood jyoungblood released this 10 Nov 17:27
· 1 commit to master since this release

Big improvements to form_validate()

  • Halt form submission for any validation error (not just empty required fields)
  • Correctly support validation inputs checked by validate_input() in addition to the legacy "required" class inputs

Improvements to validate_input()

  • New parameter: is_email - check for email address format
  • New parameter: error_message - define a custom error message
  • New parameter: force_focus - refocus input on blur
  • New parameter: regex - define custom regex