Hey gang, I am trying to add a simple form to send basic info, and want all the elements to be optional except the Type and Email info...but the form will not submit unless a file has been attached...can anyone help?
I have tried using "Not Required" rather than "" but no luck..???
Here's the code:
$form_mail[] = array( "name" => "Type_of_Appraisal_Inquiry", "text" => "Type of Appraisal Inquiry", "type" => "checkbox", "required" => "Required" ) ;
$form_mail[] = array( "name" => "Make", "text" => "Make", "type" => "text", "required" => "" ) ;
$form_mail[] = array( "name" => "Model", "text" => "Model", "type" => "text", "required" => "" ) ;
$form_mail[] = array( "name" => "VIN", "text" => "VIN", "type" => "text", "required" => "" ) ;
$form_mail[] = array( "name" => "Pertinent_Info", "text" => "Pertinent Info", "type" => "textarea", "required" => "" ) ;
$form_mail[] = array( "name" => "Attach_Docs_or_Pics_here", "text" => "Attach Docs or Pics here", "type" => "attachment", "required" => "" ) ;>
$form_mail[] = array( "name" => "Email_Contact", "text" => "Email Contact", "type" => "email", "required" => "Required" ) ;
And the forms here if you want to read it, I used Free Form Maker.com to help, I am new to
PHP...
http://www.carolinaspecialtyappraisal.com/form.php