Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Introduce additional form tag hooks #11010

Merged

Conversation

leewillis77
Copy link
Contributor

This PR introduces three new hooks into form tag processing. These hooks allow add-ons to do the following:

  • Add additional attributes to generated form tags
  • Add additional content at the start of the form
  • Add additional content before the end of the form

@jasonvarga
Copy link
Member

Thanks. I'm curious, how you plan to use these?

@jasonvarga jasonvarga merged commit 88ec65b into statamic:5.x Oct 25, 2024
17 checks passed
@leewillis77
Copy link
Contributor Author

Hey @jasonvarga

Thanks for merging! You can see an example use-case here:
https://github.com/ademti-software/form-protection/blob/main/src/ServiceProvider.php

@jasonvarga
Copy link
Member

Cool, thanks!

@Upending36
Copy link

Upending36 commented Oct 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants