Hi community, thanks for the great support you all provide.
Could you please assist with a sample of how to show/hide based on a Yes/No field selection? Here is my sample I've been trying in various ways without success.
$(document).ready(function () {
$("#myYesNoField").change(onChangeEvent);
onChangeEvent();
});
function onChangeEvent() {
var varChange = $('#myYesNoField').val();
if (varChange == 1) {
$('#myFieldName').parent().parent().show();
}
else {
$('#myFieldName').parent().parent().hide();
}
}
Thanks so much in advance!!