Hello,
i have a dropdown column with few values and there is "Other" one of the value. So as soon as user select "Other" value from the drop-down another text box will pop-up on the form. it was working before on the form but all of a sudden not displaying the text box. is there any idea what could be the issue?
$(document).ready(function () { MyFieldChanged(); $('#custom_preference').on("change", MyFieldChanged); }); function MyFieldChanged() { $("#custom_text").closest("tr").hide(); var selectedValue = $('#custom_preference').val(); if (!!selectedValue && selectedValue == 881990007) { $("#custom_text").closest("tr").show(); } else { $("#custom_text").closest("tr").hide(); } }