Automatic Form Validations

TLDR
I hate form validation so I tried to automate away what was possible

Problem
I want to be able to add arbitrarily nested custom components in a parent form, and have the parent form execute a function when all of the child custom components are validated, as well as when one, or many become invalidated. Also, I don’t want to have to manually add these components to some kind of registration object.

Lil Demo
Demo showing me adding new custom components, and the alert automatically handling them like a champ :slight_smile:
cool_demo

App Clone
Not the best code, as I think it could have been written better with multiple inheritance, but I think Anvil has this limited with Skulpt, or for security reasons anyway, here ya go.

1 Like