Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing Mandatory Fields from Contact Form?

Removing Mandatory Fields from Contact Form?

Locked

Views: 2,424

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
8 Jan 2009, 12:38 AM
#1
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Removing Mandatory Fields from Contact Form?

Hey Guys,

Is there a way to remove the Mandatory Field check in the Contact Form ?

All i wish to make Mandatory is the email and message. I wish to leave Name / Phone No. / Location Voluntary.

How can i do this ?

Using zen 1.3.8

Cheers
ren

8 Jan 2009, 1:39 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Removing Mandatory Fields from Contact Form?

Are you using some sort of addon for your contact us?

The stock install only has name, email address and message.

9 Jan 2009, 12:40 AM
#4
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Re: Removing Mandatory Fields from Contact Form?

edit: found error in solution

9 Jan 2009, 2:39 AM
#5
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: Removing Mandatory Fields from Contact Form?

Care to share with us your solution?

9 Jan 2009, 3:53 AM
#6
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Re: Removing Mandatory Fields from Contact Form?

bobdog:

Care to share with us your solution?

I managed to disable the javascript notification in the includes -> Modules -> Pages -> contact_us -> header_php.php

by disabling whichever notification lines i required (line 145 onwards)

but then im faced with a minimum value problem. And all search results on this forum lead to answers with the Sign up form, not the contact us form.

If anyone can shed some light on to where i can set minimum values for the contact form that would be greatly appreciated... im going insane :( :cry:

12 Jan 2009, 3:05 AM
#7
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Re: Removing Mandatory Fields from Contact Form?

Still need a solution for this.

Not sure where to look as there is a jscript_form_check.php for the customer sign up, but not for the contact form?? i don't understand where its validating? :blink: