CRED is a WordPress plugin that lets you easily build front-end forms for creating and editing content and users.
CRED User Guides include detailed documentation on creating forms, including related fields that belong to the content or the users, validating the input and displaying the forms with custom HTML styling.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 856 through 870 (of 1,497 total)
Problem: I would like to remove the requirement for a standard User email field in a Create User Form. My Form is set to autogenerate the User login (username).
Solution: Removing the email field and the login field will cause problems because Toolset's login autogeneration process expects an email address to be present in the Form submission. The automatic login is created based on the email address, and the software is not designed to support the case where an email address does not exist and login autogeneration is required. You can work around that problem by specifying your own custom unique generated login in a cred_before_save_data hook, but there are some limitations to consider. See the discussion in the following ticket link.
Problem:
The user is user a form to register new users, he would like to automatically login the user after registration.
Solution:
This will need custom code to be implemented. It will need to log in the user WITHOUT a password. Check this thread it explains how to use wp_clear_auth_cookie, wp_set_current_user , and wp_set_auth_cookie to login the user without password.