DavidBee Posted January 26, 2013 Share Posted January 26, 2013 Hello, I was wondering any one could help me with hiding the confirm password box on sign up? Simply setting as type="hidden" does hide the box but unable to figure out how to pass the value to the 2nd box from the 1st. Thanks for all yuor help in advance. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted January 26, 2013 Share Posted January 26, 2013 Hi. Probably the easiest way is to use a combine() function with javascript to make the hidden Confirm Password field always equals to Password one "onkeyup". In this way you can pass form validation. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted January 28, 2013 Share Posted January 28, 2013 This will work if you are using the modern orderform. Set password2 to hidden and add this javascript to viewcart.tpl {literal} <script language="javascript"> $(document).ready(function(){ $("#mainfrm").submit(function(event) { $('[name=password2]').val($('[name=password]').val()); return true; }); }); </script>{/literal} 0 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.