Skip Navigation

[Resolved] how to add button inside view loop

This support ticket is created 6 years, 4 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 16 replies, has 2 voices.

Last updated by Christian Cox 6 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#952096

so the above mention method will fetch all values from db and only set 1 option which i manually define?
if not please let me know how to achieve that?

#953133

so the above mention method will fetch all values from db and only set 1 option which i manually define?
Sorry, I don't completely understand what you mean by "fetch all values from db". Let me try to clarify. A radio button custom field can have several options with different values, and the User can only select one option. Each option and its value must be defined in wp-admin when you create the custom field. It is not possible to create a custom field that includes dynamic options based on other values in the database. The options and values must be predefined, like the image I showed here: https://toolset.com/forums/topic/how-to-add-button-inside-view-loop/#post-951473