If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / Hiding Telephone Number Field from Contact Us and Ask a Question Pages

Hiding Telephone Number Field from Contact Us and Ask a Question Pages

Started by waynestephens on 21 May 2024, 5:22 PM · Views: 368

Results 1 to 1 of 1
21 May 2024, 5:22 PM
#1
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Post #1 by waynestephens

Currently using / testing v2.0.1

I prefer to hide the telephone number field from the contact us and ask a question pages. For the contact us page I do this with CSS. However when trying the same with the ask a question page, the form doesn't submit, as the field is "required" in tpl_ask_a_question_default.php, but not required in tpl_contact_us_default.php. Is there some reason why it is required in one but not the other, or could it be a bug?

For now I have to comment out the field instead, but it would be nice to be able to do it with CSS (one less page to edit each upgrade).

20th Century Glass - Antique & Collectable Glass Store