Skip Navigation

[Resolved] Dynamic source in a form field

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.

This topic contains 2 replies, has 2 voices.

Last updated by Miguel 2 years ago.

Assisted by: Christopher Amirian.

Author
Posts
#2541941

Tell us what you are trying to do?
I'm trying to add a dynamic field into a toolset form.
I have a field called Company.
When a user fills a form I want to show the companies that already are in the database as a dropdown menu.
If the company isn't on that list, they could choos "other" and write the company name.

Is there any documentation that you are following?
no

Is there a similar example that we can see?
no

What is the link to your site?
its a local site

#2543699

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Toolset does not have a feature like the thing you want.

it is possible to add a custom field with checkboxes type and you can show the dynamic data in the form automatically by assigning the custom field to the custom post type that you create the form for.

For more information:

https://toolset.com/course-lesson/front-end-forms-for-adding-content/

But it will be limited to the items that are added to the checkboxes custom field and it will not be possible to add a new data for that.

It is possible to use custom coding and incorporate Toolset Form hooks to create such a functionality with a little bit of Javascript code:

https://toolset.com/documentation/programmer-reference/cred-api/

But it is way beyond the scope of support and you can ask for help from a developer:

https://toolset.com/contractors/

Thanks.

#2544139

I will read and study this to find another way to solve it, thanks