Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
29/11/2002 18:43:07
|
sacha
Newbie
Joined: 29/11/2002 18:39:22
Messages: 2
Offline
|
Hi,
I tried to modify the poll script a bit. The qulity of the code is exceptionally high for this kind of tool.
If the user sends a comment, the input is checked before it is saved into the database. Where exactly is this check taking place? I`d like to
1. set a global flag if one of the fields "name", "email" or "comment" is left empty
and
2. I`d like to add a little email-validation script. I know that there`s a validation in the add_comment function. But this one takes place just before the input is written into the database. I want the validation when the form is processed so that I can give the user a feedback.
Where could this be done?
thank you - all the best,
Sacha
|
|
|
|
|
|
Based on the open source JForum
|