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.

Checkout Page & Hidden ID

  1. docjulian
    Member

    Hi there,
    I have a customer that has tricky requirements for his website. I have been working with cforms so far but it looks I have reached its limits. Gravity looks great. But before I buy I need to know if it will be able to do the things below:

    - create something like a checkout page showing all the date entered BEFORE actually submitting the date. think of it like when you're shopping at amazon.com and have to click another submit button before it actually sends the order.

    - we need to identify customers. so i want to create a unique customer-id (maybe based on a timestamp), have it in a hidden field, that should be submitted.
    now after that we can give the customer a link to a DIFFERENT form WITH that ID in it (...&customerid=xxx). gravity should be able to read that variable from the link, process it again as a hidden field and submit it again. so that way we can identify the customer when he submits the DIFFERENT form.
    If there are easier methods to achieve customer identification with having them sign up for an account, I'm listening. :)

    I hope that didn't sound too complicated.

    If Gravity is able to do that it would be helpful if you had any ressources that may create an easier entry into that topic as I have been only working with cforms in the past.

    Thanks so much!

    Posted 14 years ago on Saturday July 31, 2010 | Permalink
  2. Gravity Forms doesn't currently support a confirmation page where the user can review what he/she has submitted before submitting the data and finalizing it. Once a form is submitted, it is submitted and the data is saved.

    The easiest way to tack a user who submitted the form is if they were logged in. You could then add a hidden field that stores their username as part of the form submission.

    Without that you would have to write your own custom code to generate a unique id and dynamically populate a hidden field with that generated value. You may also want to consider using cookies to store that id in their browser and then read that id when they submit other forms.

    So it is possible to store a unique id in a hidden field, it would take using some of the API hooks and some custom PHP added to your themes functions.php file to accomplish this.

    Posted 14 years ago on Tuesday August 3, 2010 | Permalink
  3. docjulian
    Member

    Thanks Carl!
    Regarding the ID: could I at least give the customer a link like "/contact/?id=xxx" so Gravity would make use of it as a $_GET variable?
    Thanks for your support!

    I know my way around php code but it's always tough to add features to an existing script since you need to understand the original code first...
    Are there freelancers that maybe are associated with your company that I could hire to get that function?

    Posted 14 years ago on Tuesday August 3, 2010 | Permalink
  4. Yes, you can pre-populate a field in Gravity Forms by passing data to it via the query string. BUT in order to do so you need to enable that capability on a field by field basis (when editing a field you go to Advanced and then check the "Allow field to be populated dynamically" checkbox and give the field a parameter name that is used in the query string).

    We can recommend a consultant who is very familiar with Gravity Forms development to assist you with any customizations. Just us let us know when you are ready.

    Posted 14 years ago on Tuesday August 3, 2010 | Permalink