Wordpress plugins
BuddyPress XProfile Validate with RegEx

BuddyPress XProfile Validate with RegEx

Version : 0.1.2
Tested up to : 4.2.16
Number of download : 1134
Average rating : 4.5 / 5 on 4 votes 4 votes, 4.5 avg.rating

Screenshots

BuddyPress XProfile Validate with RegEx
BuddyPress XProfile Validate with RegEx
BuddyPress XProfile Validate with RegEx
BuddyPress XProfile Validate with RegEx

With this plugin you can define a PCRE regular expression against which data entered in XProfile fields will be matched. For example: check webpage field for a correct(-ish) URL or domain name: %^(https?://)?([^ :/]{1,63}\.)+[^ :/.]{2,63}%iu check age field for a sane(-ish) value (0-199): /^1?[0-9]?[0-9]$/ check phone field for a sane(-ish) value: /^+?[0-9 -]{7,45}$/ check any field for a minimum and maksimum length: /^.{10,100}$/u You can also configure a message to show when a field data does not validate.

Download now