Thanks, Rob. I don't store entries on any of these forms so there's no need for the button at all. I've hidden many of them using a hidden field with a value, then a conditional. Now I just want to pull the button completely to remove it from the underlying code. I tested it in several ways and don't see any errors in the console, so I assume it must be working fine.
Appreciate the reply! Thanks and happy holidays!
I looked a little further into it and discovered some interesting, albeit irrelevant things. A) When I removed ALL of the HTML code in the button's section on customize HTML page, the button showed up anyway. I've noticed that before as I think it's an FF fail-safe thing. B) If I delete all the HTML code between the outer DIV, it's fine. C) Knowing that the return key will also submit the form unless you add jQuery to suppress it, I also looked into that and noted that if instead of removing the HTML from the customize page I set its css class to frm_hidden, the button doesn't show up, but if you hit ENTER/RETURN in one of the text fields, the form submits anyway. So my conclusion is that the only way to do it is to remove the HTML code between the DIVs. That and $4 will get you a cup of coffee.
Haha - You tested much farther than I did! Thank you for that, and I'll revisit those in which I pulled it out completely. 99% of them were already hidden by the hidden field conditional, so I wasn't seeing them to begin with. I'll send that new task over to my trusty helper and let her rip on it.
Thanks again and Happy Holidays!
Please login or Register to submit your answer