Auto-populate select field with POD relationship field
-
Hi,
Background: I’m trying to make a form for a tour where you select your tour and then your preference of bike. It is setup as two CPTs using PODS — Tours and Bikes — Bikes is a relationship field of tours.I am currently trying a two part submission form.
Part one: Select the tour.
This field is being populated using ninja_forms_render_options (found here. The tour info is then passed on to the next form using querystrings.Part two: select the bike.
I can’t for the life of me figure out how to pull that field in and populate it in a list. I can pull the total bike list but duplicating the ninja_forms_render_options filter but I need to only call the bikes that are related to that specific tour.Any help would be greatly appreciated!
Thank you!
- The topic ‘Auto-populate select field with POD relationship field’ is closed to new replies.