multitext validation

Hi,

I’m having trouble getting validation to fire on all but the first entry in a multitext view, is there a trick to this? I’ve tried specifying a custom validate function on the multitext view but this didn’t seem to do anything, is there something special I have to do in the function to address the fields beyond the first?

Hello,

With multitext you will need a custom function for validation. It should iterate all the fields, mark them invalid or valid and return the result of validation.

Please, have a look at the possible solution for checking whether all the filelds are filled in: https://webix.com/snippet/ad203bf7