Skip Navigation

[Resolved] Add the "Display name publicly as" Short-Code for the Editable Form Field

This support ticket is created 7 years 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 3 voices.

Last updated by andreaD-4 7 years ago.

Assisted by: Nigel.

Author
Posts
#599113
DP.png

Tell us what you are trying to do?
Hello,
I would like the users to have the ability to chose how their "name" appears in the site, besides having their actual Login Username, real First and Last Name.

NOTE: It's NOT the "nickname"

WP achieves this with the "Display name publicly as" field.

So using CRED I built a "My Account Page" which allows them to "Edit Their Profile".
I successfully created all the necessary Fields, except that one.

Now I need to insert the "Display name publicly as" Short-Code with CRED, for this User Field to be Editable.
Could you please help me figure it out?

Is there any documentation that you are following?
Yes, I successfully followed:
https://toolset.com/documentation/user-guides/cred-training-course/part-8-building-forms-for-editing-user-profile/

Is there a similar example that we can see?
Please see my screenshot attached.

What is the link to your site?
hidden link

#599268

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Unfortunately it's not possible.

I double-checked on a test site and CRED doesn't make that user field available to add to the form, and there isn't any way to get round that. We have an API for running code when a post form submits, but no such API for user forms, so it is not even possible to add some custom code to update the display_name field when the post submits.

I have filed a feature request to be able to use this field (and to have a User Form API).

If accepted it may take a while to implement, and you should keep an eye out on the release notes for CRED when we publish updates.

#599384

Ok. Thank you very much for your help Nigel!

#1238614

Hi, I have created a registration form for new users but I would like to be able to modify or choose the public name to display in the profile editing phase. is there a way to do it?