annieoakley Posted October 3, 2005 Share Posted October 3, 2005 I need help on customer detail page to change a field to REQUIRED. I found the javascript portion, but that's it. Thanks! Link to comment Share on other sites More sharing options...
annieoakley Posted October 3, 2005 Author Share Posted October 3, 2005 I should have mentioned that this is in the "My Account Information" screen when a new user is signing up. I want the "company" field to be required. Link to comment Share on other sites More sharing options...
Guest Posted October 3, 2005 Share Posted October 3, 2005 See if this thread can help: http://www.oscommerce.com/forums/index.php?showtopic=168818 Link to comment Share on other sites More sharing options...
annieoakley Posted October 3, 2005 Author Share Posted October 3, 2005 Well, I looked at the thread and am still not quite sure what to do. This is an existing field (company) - in my create_account.php it is setup exactly like all my other required fields. Once I can get the red asterick to appear, I believe I can do the javascript portion. I just can't find where to change the page so the required field asterick appears. Link to comment Share on other sites More sharing options...
annieoakley Posted October 3, 2005 Author Share Posted October 3, 2005 Another question - which file stores the values like ENTRY_EMAIL_ADDRESS_ERROR? Link to comment Share on other sites More sharing options...
Guest Posted October 3, 2005 Share Posted October 3, 2005 Its the catalog\includes\languages\english.php Link to comment Share on other sites More sharing options...
annieoakley Posted October 3, 2005 Author Share Posted October 3, 2005 Mark, How do I add the red asterick next to the company name text field to show it is required? Link to comment Share on other sites More sharing options...
Guest Posted October 3, 2005 Share Posted October 3, 2005 you have to create a text field with the asterisk like the gender field is for instance: in the languages\english.php and then use it. define('ENTRY_GENDER_TEXT', '*'); Link to comment Share on other sites More sharing options...
annieoakley Posted October 4, 2005 Author Share Posted October 4, 2005 Mark, Thank you very much. Now that I know about that english.php, it will make *everything* easier. :) Appreciate the responses and the help. Peg Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.