how to remove "verify password" from registration

  • Posts: 25
  • Thank you received: 0
11 years 7 months ago #130726

hi
how to remove "verify password" from registration

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #130804

Hi,

You have to edit the view "user / registration" or "user / registration_bootstrap" (depending on which one you are using) via the menu Display > Views, and add a style attribute to hide the field, and add some javascript on the first password field to auto fill the value of the second one.

If the second one is not filled, the registration can't be processed, the message "passwords not matching" will be displayed.

I think that you have to add the onchange="" attribute.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
11 years 7 months ago #130858

oh but i m not a programmer .. quite a tough job for me ... would be very helpful if u dont mind to write the code for me

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #130905

Here is the attribute to add in the first field:

onchange="document.getElementById('register_password2').value = this.value;"

The following user(s) said Thank You: tuhinboss

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
11 years 7 months ago #130974

thanks ... got it :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum