[#32241] Client side validation based on validation.js not working. And ...

...adding precomputation of labels in jQuery version.