Author |
Message |
20/01/2005 14:50:56
|
hawkeye
Beginner
Joined: 19/01/2005 01:15:19
Messages: 21
Offline
|
I just noticed that an email address is not required for Advanced Guestbook and there isn't anyway to do it in the admin?
Is there a mod for this?
Thx
|
|
20/01/2005 16:23:18
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Yes, do a search for it. there is a thread dedicated to it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/01/2005 22:32:26
|
hawkeye
Beginner
Joined: 19/01/2005 01:15:19
Messages: 21
Offline
|
carbonize..I saw that post but it it was unclear as to what I am deleting...I want all the existing fields to still be required plus the email...Do I still delete all that code? That tut appeared to me as something to do if you DON'T want any required fields?
Thx
|
|
20/01/2005 23:59:38
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You need to add some to the javascript and that should make it required for 99.99% of your visitors as they will get a warning. There is also some checking done in the script but this is only required if the user has javascript turned off or is using a browser that does not support it. I'll look into writing a mod for it but I'm tied up at present making a site for a client.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
30/01/2005 01:12:00
|
Anonymous
|
Did anyone ever figure out how to do this? I've checked (and searched!) links but am still unclear. Any help would be great. Thanks.
|
|
30/01/2005 03:24:36
|
ET
Graduate
Joined: 21/02/2003 22:17:48
Messages: 179
Offline
|
This can go in the form.php in the javascript section
Put it immediately under
Now this is at the most basic text checking level!!! It does not validate email is entered in the correct format - there are plenty of free javascript codes available online if you want something more elaborate.
NOTE - For the guestbooks that use the values of gb_name, etc., just change all the .email to .gb_email
Remember that if Javascript is shut off on the visitor's browser, this will not check for the email entry....
|
|
30/01/2005 07:30:11
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Now if people would only use the sodding search function.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
30/01/2005 14:01:56
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
Carbonize wrote:Now if people would only use the sodding search function.
Are you kidding carb. And people wonder why I have that big search text in my signature.
|
LINK-> Use Lazarus Guestbook |
|
|