Jump to content

Regular Expression in vBulletin Version 4.0.1?


mas_

Recommended Posts

I have a vBulletin Version 4.0.1, and I am trying to change the phone input box so s/he can't sign up until he insert a phone number that is between 7 to 10 numbers "just numbers with no dashes, ex: 47216582"

 

Also, on the control panel there is a box says

 

Regular Expression: you may require the input field to match a regular expression (PCRE)

 

What I did is that: preg_match([0-9]{7,10}$field2)

 

But it doesn't work !! any help ?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.