Dropdown linked to a custom field (pods) with WHERE condition
-
Hello,
first I would like to thank the creator of this plugin for the amazing work that has been done ! I’m really pleased to find such a usefull plugin.
I’m using it with the “Pods extension”, to create forms for new pod entries. Each user can create attributes in the database (as custom post type), and I’d like to create a form for users to add articles and give them an attribute, BUT only among the attributes they have created.
For example,
if userA has created attributeA1 and attributeA
if userB has created attributeB1 and attributeB2
When userA opens the form, the dropdeown should show only “attributeA1, attributeA2”I think it can be done using a WHERE condition, and linking attribute’s field to form’s field (each attribute has a field with creator’s id, and the user id is in an hidden field of my form)
Is it something that can be done ?
Thanks a lot for your response !SilverSmarty
- The topic ‘Dropdown linked to a custom field (pods) with WHERE condition’ is closed to new replies.