WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Required Fields

Version: 2.3
printPrint


Required Fields
Jumpin Jack
Member

Usergroup: Customer
Joined: Jan 13, 2005
Total Topics: 21
Total Posts: 47
Posted 02/04/06 - 12:52 PM:
quote post
#1
Is there a way to display the missing required fields along with the style sheet hightlight? Ex. We are missing the following information: name,email,zip code and state
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 02/07/06 - 10:30 AM:
quote post
#2
I suppose in suggest.php you can replace
// mark incomplete fields with CSS if possible
with
// mark incomplete fields with CSS if possible
$listincom = implode(', ', $incompletefields);
$template->replace('{INCOMPLETEFIELDS}', $listincom);

and then use {INCOMPLETEFIELDS} in the template. Won't be user-friendly though since it'll use the mysql field names.

Edited by Paul on 02/07/06 - 10:34 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.