I found this closed thread and was able to get the submit button hidden, unfortunately I'm stuck at trying to figure out how to get it back when the item is selected.
http://forum.gravityhelp.com/topic/hide-the-submit-button-conditionally
I'd like to know what I need to do to correct this and for future reference, if my sample code is correct (based on craiger's) where I find the input id to return the submit button (I've replaced the input id with question marks - where I think he element I'm missing is). I also tried using Kevin's sample and it had the same problem.
Below is the code I'm using - the URL of the form is located:
http://www.saeler.com/contact-us
I disabled the script, until I can resolve the issue
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#input_2_8").click(function(){ToggleButton();});
ToggleButton();
});
jQuery(document).ready(function(){
jQuery("#input_2_29").click(function(){ToggleButton();});
ToggleButton();
});
function ToggleButton(){
var display = "block";
if(jQuery("#input_2_8").val() == "Select One...")
display = "none";
else if(jQuery("#input_2_8").val() == "Maintenance / Support Request")
display = "none";
else if(jQuery("#input_2_8").val() == "General Questions / Comments")
display = "none";
else if(jQuery("#input_2_8").val() == "Advertising / Joint Venture Offer")
display = "none";
jQuery(".button").css("display", display);
}
</script>