Thread: Ask a Question

Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,015
    Plugin Contributions
    61

    Default Ask a Question

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here.
    And, remove this comment before actually posting!]
    Zen Cart 1.5.7C no add ons.

    I might be missing it, but the phone number of the ask a question product info link has the telephone required and I cannot seem to locate the setting to make it not required. It is not required on the regular contact form, but marked required on the ask a question version.

    Thanks
    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Ask a Question

    hi melanie.
    this looks like a javascript check. i think if you look here:

    https://github.com/proseLA/zencart/b...efault.php#L68

    and remove the required keyword, one can submit the form without problem (also remove the placeholder). one should copy the file to their own template directory and modify accordingly.

    PHP Code:
    <label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE?></label>
    <?php echo zen_draw_input_field('telephone', ($telephone), ' size="20" id="telephone" autocomplete="off"''telephone'); ?>
    <br class="clearBoth">
    best.
    Last edited by carlwhat; 7 Dec 2021 at 04:19 PM.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,015
    Plugin Contributions
    61

    Default Re: Ask a Question

    Yep, thanks a bunch. I hate hacking upo files if there's a setting I missed =)
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Ask a Question

    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Ask A Question
    By swguy in forum All Other Contributions/Addons
    Replies: 398
    Last Post: 24 Feb 2024, 03:31 AM
  2. Ask a question 1.7
    By Kodam in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Apr 2007, 11:16 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR