Webmastersite.net
Register Log In

Required Fields

Comments on Required Fields

Jumpin Jack


Usergroup: Customer
Joined: Jan 13, 2005

Total Topics: 23
Total Comments: 50
Posted Feb 04, 2006 - 2:52 PM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Feb 07, 2006 - 12:30 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.