Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] [front-end] Profil Validation

Simple Membership Plugin › Forums › Simple Membership Plugin › [front-end] Profil Validation

Tagged: Profil Validation

  • This topic has 5 replies, 2 voices, and was last updated 4 years, 9 months ago by mbrsolution.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 27, 2021 at 11:40 pm #22902
    nico
    Participant

    Hi,

    it looks like my Profil edit form ( [swpm_profile_form] ) doesn’t validate data before saving ?

    Ex.
    —
    => I can create a user with a zip code with in registration form,
    => Once member created and logged, I can access the profil page (front-end) and change the zip code to “xxx” (letters) and it save it like that without errors (only number accpeted in this case, with a pattern).

    I’ve try to add ‘ class=”validate[required]” ‘ on one field and it validate it, displaying logicaly an error message.

    => Did you intentionnaly didn’t validate the front end profil edit page?
    => or did I missed something?
    I guess for the second answser !

    Thank you, and thank you for this great plugin )
    Thank you for your lights
    Nicolas

    July 28, 2021 at 12:04 am #22904
    nico
    Participant

    Note : I’ve been desactivating all pplugin except SMP and the probleme still the same.
    Note : WordPress 5.8 and all plugins have been updated.

    Nicolas

    July 28, 2021 at 1:40 pm #22910
    nico
    Participant

    Hi,
    Do I ONLY need to use the classes “validate[]” in order to validate the fields ?

    Thanks.
    Nicolas

    July 29, 2021 at 1:23 am #22913
    mbrsolution
    Moderator

    Hi, can you test one of WordPress default themes like Twenty Twenty.

    Also are you using the Form Builder addon?

    Thank you.

    July 29, 2021 at 2:43 pm #22916
    nico
    Participant

    Hi and thaank you to answer some.

    actualy, in views/edit.php there’s no classes on the different input fields.
    And it seems classes like validate[ whatYouWantToValidate ] is the starting point to validate the form.

    I repeat myself, but the code is not in the edit.php file.

    And so, I just would know if by adding the validate[ (and choosing the good agrs too) ] is enougth to validate the form in the good way.

    In fact I already add some classes to the edit.php inputs of edit.php and it seems to works, so I think it’s not that bad… but I would know if it was eally the good way.

    Thank’s
    Nicolas.

    July 31, 2021 at 7:59 am #22939
    mbrsolution
    Moderator

    Hi, I have submitted a message to the plugin developers to investigate further your question/suggestion.

    Kind regards.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy