Skip Navigation

[Resolved] Use user_email for user_login

This support ticket is created 7 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 7 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#400107

In CRED front end form for registering users I need to use input from field 'user_email' both for email and user login. Is that possible or do I need to develop whole register page myself? It would not be a problem, but i'd like to save time.

#400312

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Yes - I think this is possible.

I think you should just hide the field 'user_login' from your user form and use CRED API hook 'cred_before_save_data' and assign your email field value to 'user_login' field.

More info:
https://toolset.com/documentation/user-guides/cred-api/#cbsd

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.