cforms II User Forum

Registration is currently disabled.


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
email field bug
December 2, 2007
8:16 am

Please replace the ??? with your data!


I found a bug for the email field. If I specify that the email field is required and is an email address, then the user can just enter name and comment without getting any of your error messages. You can go to my web site's contact form to reproduce the error. The user only get the error message from wp-comments-post.php.

For the field name, I would like to put
    Name (required)|your name|???
where ??? is the regular expression to say that the user input should not be "your name". I am not familiar with regular expression. Can you tell me what it should be?

How do I make all the fields in the form to have borders? If you go to my contact form, you will see that only the top border is shown for each field and the left, right and bottom borders are not shown.

December 2, 2007
9:01 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

That bug is already identified and fixed in v6.4 (I'll send you a copy if you need it right away). The bug only shows after the first submission attempt, the field then looses the 'required' status.

There are great repexp repositories out there by the way, here is what I would do:

Name (required)|your name|^(?!.*your name)

You can change the look and feel of your form(s) via CSS, see the HELP page, the Styling page and this link.

December 3, 2007
8:52 pm

Thank you for answering my questions. Yes, please email me v6.4. When will it be released?

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
30 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: 3757

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18732

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

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

Administrators: Oliver (6400), Nicky (3)