Skip Navigation

[Resolved] Populate select from custom fields

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 3 replies, has 2 voices.

Last updated by Luo Yang 7 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#506326

I am trying to: Add a custom User Field and want a select which is populated from another custom post field. I've searched all the documentation but can't find how to achieve this.

#506557

Dear Jon,

There isn't such a built-in feature within Types plugin, if you agree we can take it as a feature request.

#506823

Yes, please add that in a future release.

Just to clarify a bit further. I have created a CPT for towns. The admin can create whatever towns they want. When someone registers on the site, I want them to see a dropdown select which contains all the towns already entered and then store their selected choice.

Is there another way to achieve this?

#507169

Yes, in your case, you can try with Types filter hook "wpt_field_options", for example the solution in another similar thread:
https://toolset.com/forums/topic/dynamically-populate-select-field/#post-339548

The forum ‘Types Community Support’ is closed to new topics and replies.