Author |
Message |
27/11/2004 19:43:10
|
Ignatius
Beginner
Joined: 25/12/2003 06:49:24
Messages: 41
Offline
|
I'm trying to upgrade Advanced Guestbook to 2.3.1 from 2.2. I did considerable cosmetic changes to the form.php template, so I tried just pasting the code from the old version and seeing if it would work in the new.
It doesn't. When attempting to post, I get a "You forgot to fill in the name field" error, even though the name field IS filled in.
Other than having to reinvent the wheel and write all new coding for the cosmetic HTML changes on the new version, is there a quick fix to the PHP scripting that would eliminate this error? 'Fraid I don't know enough about PHP to attempt a fix.
Thanks for your help!
|
|
27/11/2004 20:23:05
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Did you change the name input at some point? Check the name of the name input in your template. It should be name="gb_name".
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/11/2004 20:48:24
|
Ignatius
Beginner
Joined: 25/12/2003 06:49:24
Messages: 41
Offline
|
Yes! That was it. 2.2 had just "name" as the name input.
Thanks for catching that, Carbonize!
|
|
27/11/2004 20:50:52
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
hmmm did you change it to just name? I'm sure it was gb_name in 2.2. Changing the input names is a simple way of avoiding the automated spam.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|