Topic RSS
1:13 pm
Hi all,
In my form, I have a flied called "Name". For each submission, I'd like to have an uppercase for the first character.
Is it possible to:
- Obligate an uppercase with a function?
- Make use of the PHP function ucfirst() after the submission?
Thanks in advance a lot for your help and for this plugin.
8:33 pm
March 6, 2005
OfflineTo enforce a capital first letter I would two things:
- use proper regexp
- add a field specific custom err message to make it clear to the user what's expected
E.g.:
Name||^[A-Z]{1}.*$|err:Please make sure to use a <strong>capital first letter</strong> in your name!
Most Users Ever Online: 959
Currently Online:
117 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: 3548
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5157
Posts: 18384
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote










