View Single Post
  #2  
Old 03-31-2003, 07:52 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Well, you could just make phone optional, email is required no matter what, especially if they are sending you an email... without it the mail wouldn't be sent.

You could do:

Code:
if(empty($contact["email"])) $contact["email"]="someemail@email.com";

But you'll need to remove the javascript client side check on the forms as well as in the $fillerror check.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote