chcs Posted June 4, 2018 Share Posted June 4, 2018 It seems that the confirm field in this module get it's id based on the name attribute instead of the id attribute . So if one changes the id attribute to a value other than the name, the confirm input id is not effected. I consider this a bug. In the module that I am developing I have multiple tabs with forms in multiple tabs. This causes id duplication when using the InputfieldPassword field on two different tabs. I can get around the problem by specifying the id for the field, but in the case of the InputfieldPassword field, it bases the Confirm id attribute on the name attribute instead of the id attribute. I am using ProcessWire 3.0.98 and have attached the modified module (see lines 209 and 241) InputfieldPassword.module 4 Link to comment Share on other sites More sharing options...
Robin S Posted June 5, 2018 Share Posted June 5, 2018 42 minutes ago, chcs said: So if one changes the id attribute to a value other than the name, the confirm input id is not effected. I consider this a bug. I agree. Please create an issue for it on GitHub: https://github.com/processwire/processwire-issues/issues 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now