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.

Will this scenario work with the gravity from plugin?

  1. Hello,

    I would like to use the Plugin for one of my projects. I have a quick question though, and i hope you can clarify a few things for me.

    Basically i am going to be setting up a custom write panel for posting courses, these course are going to have custom fields that display the course date and time, location and the price.

    I was wondering if i can use the forms ability to integrate paypal to provide online payment for the course. Basically a form to book and pay for each individual course. My question is, can i use the course price that i set in my custom fields to dictate the cost? Would this be a case of passing the php out-put of the cost to the form?

    The form would capture all the same details for each course - but would need to dynamically produce the cost of the course.

    I hope my scatty explanation gives you enough information about what i am trying to achieve.

    Any advice would be greatly appreciated.

    Thanks

    Craig

    Posted 12 years ago on Monday October 8, 2012 | Permalink
  2. Hey I have been checking to see if i had any reply to the above question - it would seem two spam post have been posted above lol?

    Any clarification would be great - thanks

    Craig

    Posted 12 years ago on Tuesday October 9, 2012 | Permalink
  3. You can dynamically pre-populate values in your form. The values can from from wherever you want: a database, a text file or calculated. Dynamic population is documented here: http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    You might be most interested in this:
    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population#Hooks

    Posted 12 years ago on Wednesday October 10, 2012 | Permalink
  4. So i could take the value from a simple PHP output ? in wordpress this would be a custom field populated from the backend. The price given would be the one used in the form.

    Going to look over the documentation.

    Thanks for your reply.

    Craig

    Posted 12 years ago on Wednesday October 10, 2012 | Permalink
  5. Yes, you can do this. After you purchase, open a support topic and we'll help you there.

    Posted 12 years ago on Wednesday October 10, 2012 | Permalink
  6. Thanks for your help - the documentation is good. I think i should be able to manage. If i need some help i will be in touch again.

    Thanks

    Craig

    Posted 12 years ago on Wednesday October 10, 2012 | Permalink
  7. No problem, we'll be happy to help you get off the ground.

    Posted 12 years ago on Wednesday October 10, 2012 | Permalink

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