chemjul2005 Posted March 1, 2010 Share Posted March 1, 2010 I want my customers to be able to fill out their company, but it isn't required. So I have put the minimum value to zero. This works, except that in the form is still shows the red star behind the field so people think they should fill it out. Where do I remove the red star? Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2010 Share Posted March 1, 2010 Company is not a required field in a standard OSC installation. To remove the red asterisk edit this line in create_account.php: <td class="main"><?php echo tep_draw_input_field('company') . ' ' . (tep_not_null(ENTRY_COMPANY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?></td> Chris Link to comment Share on other sites More sharing options...
chemjul2005 Posted March 3, 2010 Author Share Posted March 3, 2010 thanks it worked Link to comment Share on other sites More sharing options...
Guest Posted March 28, 2010 Share Posted March 28, 2010 I'm glad it worked for you. My solution was going to be to go to includes/languages/english.php, find "define('ENTRY_COMPANY_TEXT', '*');" and change it to "define('ENTRY_COMPANY_TEXT', '');" (remove the "*"). Link to comment Share on other sites More sharing options...
spooks Posted March 28, 2010 Share Posted March 28, 2010 I'm glad it worked for you. My solution was going to be to go to includes/languages/english.php, find "define('ENTRY_COMPANY_TEXT', '*');" and change it to "define('ENTRY_COMPANY_TEXT', '');" (remove the "*"). Yes, thats the correct way, some do like doing stuff the hard way though! Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.