Hello friends, how are you, I recently used a topic mentioned here about Client Events, especially those about showing or hiding a field according to the selection or Checkbox, I applied it and it worked correctly… But I found what I think is an error Or I would like you to tell me if another formula applies, but the TIME type fields do not work in the conditional Event Client, I tried it several times and it does not hide. Now I try the exact same structure of the Change function, and it works fine but in text or other type fields. I appreciate some help.
$(‘#ctrl-totaltime’).change(function () {
if ($(this).val() == ‘1’) {
$(“#ctrl-timein”).show();
}
else {
$(“#ctrl-timein”).hide();
}
}).trigger(‘change’);
The above is what I have written… the “timein” field is type “Time”, and it does not work… I applied the same thing to another text type field and it works…
Thanks for the feedback.
An additional item, when the field you want to show/hide is a “select” type field, the style of the list is distorted, it is not displayed correctly…
@willvin