Confirm Password does not work if two forms on the same page
-
I couldn’t find an issue tracker so I’m submitting this here. It appears that Forminator reuses id names which causes problems when two forms are added to the same page.
Steps To See Problem:
1. Create two forms: Login & Registration
2. For the Registration form, enable “Confirm Password” on the password field.
3. Add both forms to one page. Login should be displayed first and Registration second.
4. Go to page and try to fill out the Registration page.
5. You will not be able to complete the form because an error will show on the Confirm Password field that says: “Your passwords don’t match”Reasons For Problem:
The password field in the Login form and the Registration form will both have the same id. When the confirm password field is checked, it is checking against the Login form password field so it will always list an error.Fix Needed:
Form ids should be unique even if multiple forms are displayed on the same page.
The topic ‘Confirm Password does not work if two forms on the same page’ is closed to new replies.