Skip Navigation

[Resolved] Determine what a field id is for a custom toolset User field…

This support ticket is created 3 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
- 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 1 reply, has 2 voices.

Last updated by Luo Yang 3 years ago.

Assisted by: Luo Yang.

Author
Posts
#2215983
Screen Shot 2021-11-08 at 9.11.33 AM.png
Screen Shot 2021-11-08 at 9.06.13 AM.png
Screen Shot 2021-11-08 at 9.07.54 AM.png

Tell us what you are trying to do?
I want to pass an already created toolset user field to a WooFunnels form so that when a user registers, the values are stored within the user profile. I'm not sure what the WooFunnel form is looking for? Is it the field slug, or is there something different stored in the database. The documentation mentions a leading underscore? _billing_address (for example).

I need to input the correct value into the WooFunnel field. What I have currently does not work, nothing gets stored properly in the user profile. (see attached images). My toolset user fields have been created, I just need to hook them into the checkout form.

Thanks for any help you can provide.

#2216451

Hello,

For example, you have created a custom user field "telehealth_consent" with Toolset Types plugin, Types plugin will add prefix "wpcf-" before the field slug, so you can use below field slug in other plugins:
wpcf-telehealth_consent

More help:
https://toolset.com/documentation/customizing-sites-using-php/functions/

However, when you are accessing custom fields through native WordPress functions, you need to prepend the wpcf- prefix to the slug. Continuing from the above example, for native WordPress function to access the “House Price” field, you need to use the wpcf-house-price slug.