• Resolved pv619

    (@pv619)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    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.

    Thread Starter pv619

    (@pv619)

    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

    Plugin Author Chad Butler

    (@cbutlerjr)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clear form in 'Edit My Information'’ is closed to new replies.