Last active
June 5, 2024 19:33
-
-
Save zackpyle/444de4ab1b2255ef279e8330870dcbc2 to your computer and use it in GitHub Desktop.
Set the value of a Fluent Form radio field with an ACF Relationship field from the current page
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lets you add the values from the current post's ACF relationship as radio button values.
My use case was mortgage company and the loan officers have multiple offices (ACF relationship to the Office post type).
And the form is a Schedule Appointment form where they can select which office they want to meet at.
So it's the same form for every loan officer, but pulls in that specific LO's office locations they serve. (and uses a FF Smart Code {embed_post.acf.ACF_KEY} to send to the correct person too)