I'm unable to use number of multiplier items for validation. I'd like to validate other parts of the form based on current number of items in the multiplier (it seemed like the method getCopyNumber might be the one but it just returns 0), e.g. some field is mandatory when there's more than 3 items.
It would also be helpful to have number of the current item itself as part of the validation message, e.g. "You need to fill the 3. item's name" - I can't really access the multiplier itself in the defining function, let alone get the current number.
Thanks!
I'm unable to use number of multiplier items for validation. I'd like to validate other parts of the form based on current number of items in the multiplier (it seemed like the method
getCopyNumbermight be the one but it just returns0), e.g. some field is mandatory when there's more than 3 items.It would also be helpful to have number of the current item itself as part of the validation message, e.g. "You need to fill the 3. item's name" - I can't really access the multiplier itself in the defining function, let alone get the current number.
Thanks!