Hey everyone,
I am working on a form where I want to pre populate fields with logged-in user data, such as name, email and phone number. I know Gravity Forms allows dynamic population but I am a bit confused about the best approach.
So far…, I have tried using the {user:user_meta} merge tags but it doesn’t seem to pull the correct values. Should I be using a custom function with the gform_field_value filter instead: ?? If so, could someone share a simple snippet for fetching user details: ??
Also, will this method work across different user roles, or do I need to add extra conditions for admin, subscribers, etc.: ?? I have also read this thread https://community.gravityforms.com/t/populate-fields-with-custom-post-data-resolved-ruby-on-rails but still looking for more tips and advice.
Any guidance or example code would be greatly appreciated !!
Thanks in advance !!
With Regards,
Marcelo Salas