TracyJane Posted December 4, 2003 Share Posted December 4, 2003 Hello How would I go about stopping certain fields from being required in the section where a customer signs up. I would like the State/Province (which I have changed to County Region) and telephone numbers to be optional. Thank you Tracy Jane :blink: Link to comment Share on other sites More sharing options...
trpost Posted December 31, 2003 Share Posted December 31, 2003 I made telephone optional by doing the following: - In admin->minimum values->telephone number set to 0 - In catalog/includes/formcheck.js commented out the following line: //check_input("telephone", <?php echo ENTRY_TELEPHONE_MIN_LENGTH; ?>, "<?php echo ENTRY_TELEPHONE_NUMBER_ERROR; ?>"); - In catalog/includes/languages/english.php changed define('ENTRY_TELEPHONE_NUMBER_TEXT', '*'); to define('ENTRY_TELEPHONE_NUMBER_TEXT', ''); - In In catalog/admin/includes/languages/english.php changed define('ENTRY_TELEPHONE_NUMBER_TEXT', ' <small><font color="#AABBDD">required</font></small>'); to define('ENTRY_TELEPHONE_NUMBER_TEXT', ' <small><font color="#AABBDD">optional</font></small>'); You should be able to follow the above for other required fields... Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.