Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    64
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default 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.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Removing Mandatory Fields from Contact Form?

    oops yes, "Add phone no. to contact us" contribution has been installed also.

    http://www.zen-cart.com/index.php?ma...roducts_id=331


    cheers.

  4. #4
    Join Date
    Oct 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Removing Mandatory Fields from Contact Form?

    edit: found error in solution
    Last edited by renaissanceart; 9 Jan 2009 at 01:47 AM. Reason: edit

  5. #5
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: Removing Mandatory Fields from Contact Form?

    Care to share with us your solution?

  6. #6
    Join Date
    Oct 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Removing Mandatory Fields from Contact Form?

    Quote Originally Posted by bobdog View Post
    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

  7. #7
    Join Date
    Oct 2007
    Posts
    64
    Plugin Contributions
    0

    Default 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?

 

 

Similar Threads

  1. how to add mandatory Pictures and Fields to the customer registration form?
    By chava1106 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jun 2012, 10:16 PM
  2. Contact us form: Removing the Store, Name, Address etc. from top
    By hello in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jul 2010, 08:12 AM
  3. Removing Additional Contact Details from Account form
    By Beau91324 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Dec 2009, 03:48 PM
  4. Removing required fields from Contact Us page?
    By MrsWiremeister in forum Basic Configuration
    Replies: 1
    Last Post: 22 Jul 2007, 06:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg