techmistress Posted July 10, 2008 Share Posted July 10, 2008 Hi All! Hope someone can help.. I've added 3 new fields at step 5 of checkout (below comments section). I would like to make them required, but I'm not sure of the code. I tried the if empty code, but nothing happened. I don't need it to focus on the fields, but popup an alert message. I know how to do a javascript field check, but I wasn't sure how to do it without an "onsubmit" function. The button on this page is "a href="java script:submitDoc('gateway');" with an image. Thanks for any help! Quote Link to comment Share on other sites More sharing options...
techmistress Posted July 10, 2008 Author Share Posted July 10, 2008 Anyone know yet? I guess it's the same question as "how do I make the comments box required". I tried looking through the forums everywhere and only saw an answer saying to look for a javascript - which I couldn't get to work because of the reason above... 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.