Open paragonie-scott opened 8 years ago
I kinda wanted the same thing... so I started here.
There are a ton of benefits (especially for making the new motif configuration system easier to develop for), but I'll need to do research and design a system that makes this as simple as possible.
I'd like the reduce the code footprint (and therefore liability) by creating a generic form framework in a future version of Airship.
Ideally, we would turn templates like this one into something like:
And then on the template:
This will afford us several advantages:
I'm not quite ready to commit to having this ready for version 2.0.0, but it's an idea I'd like to think about. The actual implementation details (how to handle conditional form requirements) and edge cases (file uploading, element-bound JavaScript) need to be hammered out.