I ended up using a form per Card and then just calling .validate on the 
FormValidator when submitting the Forms. If all FormValidators returned true 
the Forms are valid.


On 2021/05/21 11:06:42, David Slotemaker de Bruine 
<[email protected]> wrote: 
> Hi all,
> 
> I have some Form Items in different Cards within a Grid Component. I would 
> like to validate them before submitting the data. 
> 
> If I create a Form tag in each Card and a Form Validator for each card I can 
> manually execute the validators and continue the process, but this is 
> cumbersome. 
> 
> If you add the Form within the Grid Component, the Grid will not render 
> correctly.
> 
> So I decided to "roll my own", I have copied the ForValidator and renamed it 
> GridValidator, but I cannot compile it as the compiler can't find the file 
> method " validator.destroyErrorTip();"
> 
> The Class extenders org.apache.royale.jewel.beads.validators.Validator;  as 
> the FormValidator does, but the source code I have doesn't have that method 
> either.
> 
> Any clues on how I should do this better, or how to solve the compiler error?
> 
> Cheers,
> 
> David
> 

Reply via email to