grav-plugin-form
grav-plugin-form copied to clipboard
Conditional / flexible content field support
A flexible content field (similar to the similarly named field in Advanced Custom Fields for WordPress) would add a massive amount of power and functionality to Grav forms.
The idea for this was posted a Grav discourse post, along with some code to essentially get it working. But if this could be integrated into the Form plugin core that would be amazing!
There's one more thing that needs to be taken into consideration: form validation.
Hey @Romarain I was just wondering how you ended up going with your JS script that would enable this in Grav? Were you thinking of creating a pull request?
@onetrev Sorry for the late response. Glad you mention my work. It ended well and work perfectly for its purpose : making some form fields to be conditioned by other fields' states. It also give the power to mix several layers of conditioning ( A conditioning B, B conditioning C, etc).
I never posted it publicly because I was wondering if I could sell it (i try to start my business and anything count), but I could give it to Grav for it to integrate in the project, as a "thank you" gift. It would be the least I can do.
But things gone wild in the Discord of Grav, and I've been told to stop interacting with people. So now, I suppose I'd rather release it for my own account.