• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Jetweb

Doing Wordpress Right

Main navigation

  • Snippets
  • Contact Us
  • Get a Quote

Validate Israeli phone with Gravity Forms

The code below validates an Israeli phone number in Gravity Forms.

Instructions:
1. place the code snippet in function.php
2. Add a phone filed in your gravity form.
3. Under appearance add a custom scc class named “israeli”.

Phone numbers who don’t mach the Israeli phone numbers pattern will invoke a validation error and prevent form submition.

Primary Sidebar

Snippets

  • Customize genesis site footer
  • Validate Israeli phone with Gravity Forms
  • Add Local Business Information
  • Gravity Forms CSS Reset
  • Error Log Handling With Custom Debug Levels
  • Use SMTP To Send Mail Without a Plugin
  • Gravity forms permissions
  • WANTED: Full Stack Developer
  • WANTED: Experienced Full Stack Developer

Contact Us

Jetweb · © 2019 · Powered by Jetweb