Email element field disappears from...

User 98258 Photo


Registered User
6 posts

Awesome Eric. Thank you so much. I did change the code to use my checkbox, and since I ask the user to verify their email. I make the whole div for that inputbox section hide/show based on the whether the checkbox is checked or not. In case anyone else is interested, below is my code changes to Jeff's code.

<script src="common/libs_js/jquery-1.4.4.min.js"></script> <script type="text/javascript">$(document).ready(function(){
$('#item22_0_checkbox').change(function(){
if($('#item22_0_checkbox').is(':checked')){
$("#item33").show();
} else {
$("#item33").hide();
}
});
});</script>
User 187934 Photo


Senior Advisor
20,271 posts

That's fine, I actually scrolled up because i thought maybe I was looking at the wrong thread.:lol:
Thanks for making the tweak for checkboxes. Isn't Jquery fun!:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.