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.

Pre-fill with logged-in user data

  1. My client needs an order form with multiple pages and modal content. Gravity Forms looks perfect, but he would also like to to be able to pre-fill some fields (address, city, zip code) if the user is logged in. We'd be using the user registration addon for Gravity Forms - is anything like this possible, and if so how much programming would be required to make it happen?

    Posted 13 years ago on Monday May 9, 2011 | Permalink
  2. You can pre-fill fields using custom PHP and available API hooks. So if you wanted to pre-fill fields if the user is logged in you would write custom PHP to populate the value of those fields using some custom PHP. The hooks are in place to allow this and all the hooks are documented and you can probably find code examples in the forums as it's been done before by other users. Pre-filling fields from WordPress user data doesn't require very much code.

    Posted 13 years ago on Monday May 9, 2011 | Permalink
  3. Thanks, that sounds good. A couple more questions:

    1) With the Paypal addon, does that work with Website Payments Pro or just with regular Paypal payments?

    2) My client has a disclosure form that needs to be printed and faxed back. On the order form, is there a way for me to add a 'I agree to this' box and prevent form submission until the box is checked? Is there a way for me to show a button that the user must click to print our PDF form?

    Posted 13 years ago on Monday May 9, 2011 | Permalink
  4. 1) The PayPal Add-On is currently PayPal Standard only. It does not work with Payments Pro. We will be creating a different add-on for Payments Pro which uses a different API.

    2) Yes. You can add a checkbox to your form that asks them to agree to the terms and conditions and set the checkbox as required. If they don't check the checkbox to agree to the terms, they can't submit the form.

    Gravity Forms doesn't have any print to PDF capabilities. If you wanted them to print something you would have to build that functionality and message into your WordPress theme or create a theme template specific to the page where your form will be displayed that has this information and instructions.

    Posted 13 years ago on Monday May 9, 2011 | Permalink
  5. digitalnordic
    Member

    When do you expect you will have an add-on for Paypal Payments Pro?

    Posted 13 years ago on Saturday July 9, 2011 | Permalink
  6. Any word on when the add-on for Pro will be available?

    Posted 13 years ago on Wednesday July 20, 2011 | Permalink
  7. There is no timetable for PayPal Pro. A 3rd party was said to be working on one, although we haven't heard from them in quite a while. We are currently working on Gravity Forms v1.6 and several other new Add-Ons. We have not begun work on PayPal Pro so there is no date that I can provide.

    Posted 13 years ago on Wednesday July 20, 2011 | Permalink
  8. Thanks so much. I might have to make it happen myself.

    Posted 13 years ago on Wednesday July 20, 2011 | Permalink
  9. Hi
    I am very interested in using PayPal Pro as well. It's designed especially for small business/e-commerce. If Gravity Forms or someone could make this happen it would really be a valuable add on...will you let us know soon as it's available?? Thanks!

    Posted 13 years ago on Monday August 8, 2011 | Permalink
  10. Closing this as it has gotten off-topic.

    Posted 13 years ago on Monday August 8, 2011 | Permalink

This topic has been resolved and has been closed to new replies.