Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Make subject field optional on contact_us

    Quote Originally Posted by gunni View Post
    Hi,
    Did not find any solution for making a field - not a required field.
    I use the standard Contact us form.
    I commented out lines 85-87 @ header_php.php
    Code:
    //if (empty($subject)) {
       //  $messageStack->add('contact', ENTRY_EMAIL_SUBJECT_CHECK_ERROR);
      //  }
    but when submitting the form, it does nothing. Not a sent confirmation and not
    a failure confirmation.
    What did I do wrong ?
    Just a note about the highlighted section in the original post: The behavior described is not present in the "standard" (i.e. as-shipped Zen Cart) contact_us page's processing. I've seen that change introduced with some of the picaflor-azul templates, though.

  2. #2
    Join Date
    Aug 2010
    Location
    Israel
    Posts
    285
    Plugin Contributions
    0

    Default Re: Make subject field optional on contact_us

    Quote Originally Posted by lat9 View Post
    Just a note about the highlighted section in the original post: The behavior described is not present in the "standard" (i.e. as-shipped Zen Cart) contact_us page's processing. I've seen that change introduced with some of the picaflor-azul templates, though.
    Sorry. You are right. I use sheffield blue 2 of Picaflor-azul.
    Did not know she made some changes in it.
    I will ask her about it in her thread.

 

 

Similar Threads

  1. v150 How to make registration Salutation field optional?
    By scott_ease in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jul 2016, 03:11 AM
  2. Make an attribute optional
    By aprilfloyd in forum General Questions
    Replies: 1
    Last Post: 27 Oct 2011, 03:35 PM
  3. Make birthdates optional?
    By lifeforce in forum Managing Customers and Orders
    Replies: 2
    Last Post: 5 May 2008, 06:30 PM
  4. Add subject field to contact us
    By high2K in forum General Questions
    Replies: 0
    Last Post: 19 Jun 2007, 04:17 PM
  5. Help with contact_us -- customized subject field
    By MichellyAqua12 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 29 Mar 2007, 01:46 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