Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Use Facebook Login to pre-populate User info on Gravity Forms WordPress

  • REFUNDED

Hello,

I would like to create a gravity form where visitors could choose to use Facebook Connect and after allowing the FB App to access their basic info, the form auto-fills with their FB info for First Name, Last Name and E-Mail (it would even be better if this just happens in the back-end).

IS there any way to achieve this?

Many thanks!
Tim

It seems to be working here:
http://www.texasforeclosuredefensenetwork.com/about-us/

The attached picture is just an idea. We would either use Fb login or have the user give name, last name and email.

Answers (2)

2014-03-04

Hariprasad Vijayan answers:

Hi,

Do you need this facebook connect for login/registration section?


robork comments:

Hi,

we have a form with two pages. First page for text and pictures, second page for details on user.

We want to use FB connect just to obtain the user information and to avoid spam. They can alternatively provide Name and Email for verification.


Hariprasad Vijayan comments:

So, you need facebook connect on second page. right?
Can you show the url for checking.


robork comments:

I send you a pm


Hariprasad Vijayan comments:

Okay. What happening after submitting first page. I mean clicking on that red button? Is it saving content to database? or doing something else?


robork comments:

It is just leading the user to the next page. Nothing is being saved to the database until the user fills the second page and hits the button on the second page ("Beitrag einstellen").

We use this: http://www.gravityhelp.com/documentation/page/Page_Break

If you need a hook I guess add_filter("gform_pre_render_31" will be what you need, right?

See example 3:
http://www.gravityhelp.com/documentation/page/Gform_pre_render


robork comments:

Would you be able to make thsi happen if our form just has one page?

2014-03-04

Bob answers:

Can I see the form?
How many fields are there which you want to populate?


Bob comments:

Hi,

have you created app on facebook?

Have you tried this plugin
http://wordpress.org/plugins/gravity-forms-janrain-add-on/

It's free version allow few fields. not tested yet but you can give it a try.

Other than that we can try facebook javascript api to populate it. But I think all fields should be on same page.