Thread: Required fields
View Single Post
  #8  
Old 12-06-2003, 07:36 AM
 
spingary spingary is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 51
 

Default Re: cool scripting

Quote:
Originally Posted by assassin88
Hey Gary,
Does this method kinda bypass the required fields in the help.php file? Will this work if I want to remove some of the fields in the contact.tpl file? or do all the fields have to stay there if u want it to work?
Ben

Kind of... instead of BYPASSING the idea is to go AROUND the required fields in help.php by using JS to set the ones we DON'T want to be required to a non-empty string.

If you want to remove a couple of fields (even the required ones), all you have to do is change them from text fields to hidden input fields.

Gary
Reply With Quote