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

Deprecate the validation_{class name}_{submit field id} and validation_{class name}_{submit input id} #64

Closed
michaeluno opened this issue Feb 1, 2014 · 1 comment

Comments

@michaeluno
Copy link
Owner

I'm going to deprecate the validation_{class name}_{submit field id} and validation_{class name}_{submit input id} filters for the submit field type as it is confusing with the other submitted fields.

To determine which submit button is pressed, instead I'll add the following action hooks:

  • submit_{class name}_{submit field id}
  • submit_{class name}_{submit section id}_{submit field id}
  • submit_{class name}_{submit input id}

Then the field id can be used for all the fields, not restricted to the submit field type.

  • validation_{class name}_{section id}_{field id}
  • validation_{class name}_{field id}
@michaeluno
Copy link
Owner Author

Done in some of the following commits:

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

No branches or pull requests

1 participant