Skip Navigation

[Resolved] Unique field names?

This support ticket is created 6 years, 5 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
- 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)

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1105659

I hope to use Toolset for building online courses. All of my fields are User fields. I will have 50 courses, all with similar (but unique) fields. Currently, toolset is forcing me to have a different field "name" for each field. I'm happy to make these unique, but then I need an alternate way to present the field to the user. Is there a way to present the field description instead of the field name? This would solve the problem. If this is not possible, please help me figure out an alternate solution. Thank you!

COURSE 1
Field name: trait1
Field description: What is a personality trait that you value?

WHAT THE USER SEES CURRENTLY:
trait1
_______________________

WHAT I WANT THEM TO SEE:
What is a personality trait that you value?
_______________________

COURSE 2
Field name: trait2
Field description: What is a personality trait that you value?

WHAT THE USER SEES CURRENTLY:
trait2
_______________________

WHAT I WANT THEM TO SEE:
What is a personality trait that you value?
_______________________

(I'm happy to provide screenshots if this support thread is private. Please advise.)

#1106454

Hello,

There isn't such a built-in feature, but it is possible with a custom shortcode, see similar thread here:
https://toolset.com/forums/topic/add-custom-fields-descriptions-to-a-form-as-a-shortcode/#post-1076253

#1111727

Thanks, I reviewed the post, but if I show the description to the user then I would not want to show the field name (which I would be using as a unique back-end reference instead of a user-friendly question).

1. Is there a way to also hide the name while showing the description?

OR...

2. Is there a safer way you can think of to meet my needs above? I hesitate to customize because that's when things seem to go wrong... I'd prefer to work with the tool as much as possible.

I just want to be able to have unique field names on the back-end that I can use for different courses, even though the actual phrase that I'm showing to the user to ask for their input is meaningful and I don't have to force it to fit a structure required by also using it as a back-end reference.

Thank you!

#1111744

Hey, I think I figured out a super-simple way to do this... please confirm if this is the best way:

I can use any "Name" I want for a custom field (like 1-1-personality-trait), but then after I auto-generate the form including that field, I scroll down and just change what's inside the <Label> tags, no?

Let me know what you think.

Thank you!

#1112007

Yes, you are right, in the Toolset forms. you can change the field labels to what you want. I agree it is is the simplest way.