Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Blaz8

    (@blaz8)

    Still cant seem to get it working … heres my code, where am i going wrong?

    //Hide the field initially
            $("#delegate1").hide();
    
    $('#additional').change(function() {
                    if ($('#additional').val() == "Yes") {
                            $('#delegate1').show();
    		        $("#inputiid").prop('required',true);
                    }
                    else {
                            $('#delegate1').hide();
                    }
            });
Viewing 1 replies (of 1 total)