Great! Cheers. On Wed, 26 May 2021 at 18:55, Piotr Zarzycki <[email protected]> wrote:
> Hi David, > > Sure I can do that for you - I will check code if it's reasonable and > possible. It just been crazy lately with several things here ;) > > śr., 26 maj 2021 o 18:27 David Slotemaker de Bruine < > [email protected]> napisał(a): > >> Bumping this again as I realize I do need to create custom Validators, as >> it is, I don't think it can be done because the "destroyErrorTip()" >> function is internal. Would it be possible to make it protected? >> >> >> >> On 2021/05/21 14:11:31, David Slotemaker de Bruine < >> [email protected]> wrote: >> > 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 >> > > >> > >> > > > -- > > Piotr Zarzycki > -- *David Slotemaker de Bruïne* *Head of Educational Robotics* Av. Sarriá, 130 - 08017 Barcelona <https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g> T. +34 932 523 729 ext. 135 [email protected]
