danhardy
(danhardy)
November 23, 2018, 8:40am
#1
Hi, I’ve googled this one but i’m not 100% on the how too, I’m not an experienced person in this.
Is it possible to populate a dropdown field with user data for example we’d like to create a form where a logged in user selects the drop down and the options given are all the users names on the website.
Thanks
Dan
chrishajer
(Chris (Gravity Forms))
November 23, 2018, 11:39am
#2
Yes, you can use this approach:
Instead of the get_posts
WordPress function, you would use a WordPress function like get_users
:
https://codex.wordpress.org/Function_Reference/get_users
danhardy
(danhardy)
November 24, 2018, 12:08pm
#3
Thanks for the reply Chris, I think that’s too advanced for me to comprehend at this stage.
chrishajer
(Chris (Gravity Forms))
November 24, 2018, 3:36pm
#4
There is help available for hire here if you decide to pursue it:
https://docs.gravityforms.com/recommended-developers/
danhardy
(danhardy)
November 24, 2018, 3:59pm
#5
Ah now that sounds like a promising way, is this something you do or can you recommend someone.
Thanks
Danny
chrishajer
(Chris (Gravity Forms))
November 25, 2018, 3:09pm
#6
I would recommend any of the individuals here:
If you need custom functionality that is not solved by an add-on, you might need to hire a developer. Here, you will find a list of developers we can recommend based on their knowledge and track record.
danhardy
(danhardy)
December 1, 2018, 2:00pm
#7
Thanks for the information
1 Like