WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Clear form in 'Edit My Information' (4 posts)

  1. pv619
    Member
    Posted 10 months ago #

    Hi, First of fall I really like this plugin and thank you for your contribution.

    In the 'Edit My Information' page, the fields have user's registered data and when the user clicks on 'Clear Form' then it doesn't the clear the data. Also, when user manually deletes the data on the fields and then Clicks on 'Clear Form' it brings up registered data back.

    Also is there any chance to have confirm password option in near future? I tried action hooks but didn't succeed as you suggested in here and also have noticed that you mentioned that this feature will be on 2.8 / 2.9 update. Eagerly waiting for this :)

    thanks for your help in advance. :)

    -P

    http://wordpress.org/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 10 months ago #

    Actually, it is an incorrectly labeled button. It should be "Reset Form".

    There is really no such thing as a "clear form" button. The reset button in html resets the form to its default settings, which, in the case of a new registration would be blank (or clearing it). But in the case of updating a user profile, resetting it will bring it back to whatever the values were.

  3. pv619
    Member
    Posted 10 months ago #

    Hi Chad,

    thanks for your reply.

    So is it possible to rename the 'Clear Form' button in Edit My Information page to Reset Information. Also if you could confirm on whether we will get the confirm password feature in future updates? Really need this for the system.

    Thanks again,

    -P

  4. Chad Butler
    Member
    Plugin Author

    Posted 10 months ago #

    You could filter it with wpmem_register_form. Something like this:

    add_filter( 'wpmem_register_form', 'rename_clear' );
    
    function rename_clear( $form ) {
        return str_replace( 'Clear Form', 'Reset Form', $form );
    }

    As far as the confirm password, it is probably not going to make it into the plugin as an option in the admin for awhile. It is on the project list though, so yes, it will be in a future update - I just don't have a timeline as to when.

    I really don't like to give shameless plugs for the plugin's premium support site here, not just because it is bad form per the forum rules, but because I really prefer to give a straight up answer when I can (such as the above snippet) - but there are code snippets on the support site available for subscribers for adding password and email confirmations.

Reply

You must log in to post.

About this Plugin

About this Topic