How to filter the displayed form fields?
-
I have a PODS form that displays a relationship field (relating the currently logged in user to a custom post type). The custom posts are listed in the form as checkboxes with the post titles. The form works well, but I need it to do 3 things differently:
1) Filter which posts are displayed in the form, based on an ACF date field (don’t want to display past events).
2) sort them by that field, ascending by date
3) display the date field as well as the post title, on the checkbox item (not as important as the other 2 but nice to have)
I was trying to find a list of the available arguments for the fields included in the form, but nothing came up on your documentation site. I know it’s under construction. The examples for forms include only ‘label’ and ‘default’.
Thanks in advance.
- The topic ‘How to filter the displayed form fields?’ is closed to new replies.