Skip Navigation

[Résolu] Create form using user form

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

How to add a new hidden field at the time of user registration?

I want to add status field in User Registration Form. Default value should be "New". Admin can change the status to "Active". At the time of changing the status want to Send E-Mail notification to the user.

Solution:

You can try these:
1) create a custom select field "status", with two options: "New" and "Active", setup the option "New" as default option

2) Create a Toolset form for creating user, use CSS codes to hide above field "status", so after user submit the form, it will save the field "status" as "New"

3) Create a Toolset form for editing user, admin can use it to change the field "status" to "Active", and send the E-Mail notification to the user

Relevant Documentation:

https://toolset.com/documentation/user-guides/user-fields/

https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/

This support ticket is created Il y a 6 années et 4 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Luo Yang Il y a 6 années et 4 mois.

Assisté par: Luo Yang.

Auteur
Publications
#958345

We are currently building a site using Toolset and have a question. It would be great if you can help regrading how to add a new hidden field at the time of user registration. I want to add status field in User Registration Form. Default value should be "New". Admin can change the status to "Active". At the time of changing the status want to Send E-Mail notification to the user.

#958691

Hello,

You can try these:
1) create a custom select field "status", with two options: "New" and "Active", setup the option "New" as default option
https://toolset.com/documentation/user-guides/user-fields/

2) Create a Toolset form for creating user, use CSS codes to hide above field "status", so after user submit the form, it will save the field "status" as "New"

3) Create a Toolset form for editing user, admin can use it to change the field "status" to "Active", and send the E-Mail notification to the user
https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/

#1044063

Thanks for the support. It works perfectly.

#1049736

You are welcome