PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Auto Populating a Users Name

  1. ksnyde
    Member

    I hope this hasn't been asked already -- I did look for similar topics -- but what I'm trying to do is have a form for users suggestions where the user may or may not be logged in. I don't want to restrict anyone who has an idea contributing it but for those logged in i'd like to dynamically-populate their name.

    What I've done so far is drop a Name field onto my form and set it to "simple" so first and last name are combined (not too precious on this part but thought it would make it easier for users). In other forms -- and I think in the case of non-Name fields -- I've seen a drop-down of choices but in this case it's just a check box which if checked asks for a parameter name.

    My core requirement is to pre-populate that for a wordpress user if they're logged in. I'd think this would be pretty easy but I am very new to Wordpress and Gravity Forms so find myself at a loss. Any help would be greatly appreciated.

    My "extra credit" requirement is to use the users Discus identity information to pre-populate if the user isn't actually logged into the site.

    Posted 12 years ago on Friday November 4, 2011 | Permalink