Simple Membership Plugin › Forums › Simple Membership Plugin › Using Browser Validation instead of default form validation
Tagged: Registration, validation
- This topic has 5 replies, 3 voices, and was last updated 3 years, 3 months ago by
admin.
-
AuthorPosts
-
January 16, 2023 at 4:09 pm #25052
Joni
ParticipantI have just started using SWMP. Looks great so far. The only thing which seems strange is the input validation of any form (e.g. registration).
When I am installing SWMP on a clean and fresh install of WP (no plugins and the default WP-23-Theme), the default registration page (created by SWMP) outputs the validation on the very top of the page (it creates a div with the class of “swmp_error” and id of “swmp_message” right underneath my <body> tag – even before <meta>, <script> tags or the default main navigation menu). Is this intentional? If so, I won’t be able to use the plugin as it creates an absolutely unpleasing UX and destroys the design of my website. Where can I tweak these messages (both there display position as well as their content)?
If possible I would upload a screenshot to show what it looks like on my site.
I would rather like to use default browser validation as it immediately shows the error message underneath the respective input-field. Is this possible?
If this is a functionality which is only offered in the paid Form ADDON, I am willing to pay. But I first need to make sure that this available before the purchase.
Thank you. Looking forward to hearing from you!
January 17, 2023 at 7:30 am #25061mbrsolution
ModeratorThank you for reporting this to us. I have submitted a message to the developers to investigate further your findings.
Kind regards.
January 17, 2023 at 7:37 am #25062Joni
ParticipantSo is this an error? Has never ever reported this before or asked how to tweak the display position of the validation message?
January 18, 2023 at 12:43 am #25066admin
KeymasterHi Joni, Thank you for reporting this. This looks to be a conflict with the 2023 theme. It’s a new theme that we haven’t tested yet. There is a JavaScript error which is creating the unexpected output with the the theme. We will need to test and address this issue with the 2023 theme.
It will take a few days for us to address this.
We will have to continue to use the JS validation script that we use. There are some custom validation rules in there are we are not planning to change right now. You are welcome to try a different plugin so you can continue to build your project.
January 18, 2023 at 9:18 am #25067Joni
ParticipantHi admin, thank you so much for checking this out! I also tested it with the default 22-theme – same issue. It only seems to work correctly with the 21-theme.
Is there any way to tweak the content of the error messages?
E.g.: “Please correct the following:
Wordpress account exists with given username. But the given email doesn’t match. Use a different username to complete the registration. If you want to use that username then you must enter the correct email address associated with the existing WP user to connect with that account.”I would like to amend this text slightly (e.g. not speak of “WP user” as this won’t say anything to most of my website visitors). Is there some Addon or way to edit the error messages?
January 19, 2023 at 5:31 am #25073admin
KeymasterWe have released an update that should fix the issue. Please upgrade the plugin when you can and check it out.
Some of the most common messages can be customized using the following option:
https://simple-membership-plugin.com/simple-membership-custom-messages-addon/You can customize any messages that are output by this plugin by customizing the language translation file for your site:
https://simple-membership-plugin.com/translate-simple-membership-plugin/ -
AuthorPosts
- You must be logged in to reply to this topic.