M
Meryk
Guest
Hello, I have some fields that I need to make required depending on some conditions. When the field is a lookup, doing this : $('#fieldIntName').attr('required', 'required'); $('#fieldIntName > span').addClass('rbs-required); is enough to make the field required and display an error message when trying to save without filling it. Now I have the case of a date field (I haven't tried with other types), on which I want to do exactly the same conditional validation. It is not working, i.e, field is not required (saving can be done without this field) and the error message is not showing. Is that a known behavior?I know I can just have a field validation for the date field, but why these two different behaviors? Thank you Meryem
Continue reading...
Continue reading...