nathanbright Posted March 26, 2015 Share Posted March 26, 2015 I'm having trouble making "Phone" NOT a required field in the user profile when using the Foundation skin (CCV6.0.2) Simply removing the "required" class parameter from the <input> tag does not achieve it. It appears to be also hard coded into the javascript validation functions in /js/3.cubecart.validate.js And simply removing that javascript file (temporarily to test), left me with a PHP validation failure Have I misunderstood how required fields are meant to be handled in V6? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 26, 2015 Share Posted March 26, 2015 Hi Nathan, Three changes are required; - remove required from the html template file - remove required from the JS file - remove the server side validation from classes/cubecart.class.php I'm not at my desk right now to look at the exact files and line numbers so this is just a pointer. Sounds like you are on track though! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.