homepage Welcome to WebmasterWorld Guest from 54.166.111.111
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Single Field Validation
smadAc




msg:4368964
 12:36 am on Sep 30, 2011 (gmt 0)

Greetings

Firstly, although I know there is another thread [webmasterworld.com] addressing this issue, i tried that suggested resolution but it didn't work.

Secondly, i'm a virgin phper so please bear with me.

And lastly, i need help!

OK so, i've recently installed a guestbook [cmafit.co.cc] on my site where i have one issue that the originators won't help me with.

The issue is validating the Image Title field to ensure feedback isn't submitted until the image title is entered. I did get as far as my customised error message coming up but unfortunately, even if the image title WAS entered, the same error message would reappear.

I've since ftp'ed the original php file so visitors can submit feedback but my tweaking of the guestbook original php files, in effect, negates the last few days of effort spent to get as far as i did so i'm at my wits end.

Would someone pls have a look at source script and tell me what code is missing where ie the gbook.php and/or sign.form.php.

Thanx so much in advance.

 

smadAc




msg:4369122
 11:41 am on Sep 30, 2011 (gmt 0)

btw, below is the code that partially worked in gbook.php but i've since removed it so visitors can submit feedback in the interim (without the image title):

if (empty($ititle))
{
$error_buffer .= $lang['e06'].'<br class="clear" />';
}

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved