Home Forums Plugin Support WP User Frontend Pro Pre-populate field with user data

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6298

    Post count: 2

    I may be overlooking this, but is there an easy way to pre-populate fields? I essentially want to pre-populate the logged in user's name and email address.

    I've done this before via gravity forms where you add a field to the form and then write a function and add a filter to populate it. Is there a way to accomplish the same thing with WP User Frontend? I'm thinking maybe this is where hooks come in?



    Tareq Hasan
    Post count: 2831

    You can put some default value in a field, but the one you are talking about is not static data. It would be dynamic. So, no! This one can't pre-populate the form like gravity form does.

    Using hooks you can do that, but that will require to add the input box too.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Pre-populate field with user data’ is closed to new replies.