Patty Posted March 10, 2009 Share Posted March 10, 2009 Not sure if this is a bug or if that's the way it is... When ordering, I "forget" to tick the Accept TOS checkbox, which is mandatory in order to continue. Page reloads and I get the warning that I need to check the box in order to proceed. So far so good. I scroll down and tick the checkbox and click the button to finish the order. Then I get a warning that I didn't type my password (which I had done before, but when I got the first warning, it was wipped out). OK, I retype the password. But since the page was reloaded once more now the checkbox is unmarked again! If client doesn't see that, because he's not expecting to do again what he has just done, he will get into a loop until he realizes that, which might take another couple of clicks and typing. Not a very serious issue, but it's a little annoying for the client that he misses a step and then have to go back and enter again the information he had entered before because it gets lost when the page reloads. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 11, 2009 Share Posted March 11, 2009 passwords always blank out on reloading a page - its a browser thing not a whmcs thing ... you could always change the error message to say "and you will need to re-enter the password" 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted March 11, 2009 Author Share Posted March 11, 2009 OK, thanks for your reply. Good suggestion. Will do that. 0 Quote Link to comment Share on other sites More sharing options...
Redsign Posted March 11, 2009 Share Posted March 11, 2009 You could also disable the continue button if the checkbox is not ticked. Would be nice if this happened by default (but I know a member on the forums has a commercial mod that includes this). Ben 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted March 11, 2009 Author Share Posted March 11, 2009 That would be nice too, Redsign. But how can I do it?? I know it should be some if/else statement, but I'm no programmer and wouldn't know how to write it. 0 Quote Link to comment Share on other sites More sharing options...
Redsign Posted March 14, 2009 Share Posted March 14, 2009 That would be nice too, Redsign. But how can I do it?? I know it should be some if/else statement, but I'm no programmer and wouldn't know how to write it. Do a google on something like 'javascript disable submit checkbox' . It should be quite easy to do- and you'll learn a bit along the way Goodluck, Ben 0 Quote Link to comment Share on other sites More sharing options...
joe123 Posted March 15, 2009 Share Posted March 15, 2009 disabling the submit button not the best idea , because the customer might not understand why it is disabled , best is to validate that all required fields are filled in with javascript before the form is submitted . 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.