cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
single quotes not working despite regex
December 1, 2007
1:09 am
Ron
Guest

Please replace the ??? with your data!

  • Your URL: http://???
  • The browser used: firefox/ie7
  • cforms version: 6.3
  • Your Wordpress version: 2.3.1

[desc]:I am trying to validate/limit the input on a name field.  The following regex works in every other environment I've tried it, but when used in cform it won't accept single quotes:

^[a-zA-Z''-'\\s]{1,40}$

I can't find a regex that will accept single quotes here (for example, the name D'Ann).  Am I missing something?
_

December 1, 2007
8:23 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

What is your URL?

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3739

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5339

Posts: 18706

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)