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.

Order ID that raises with every order ( hidden field )

  1. Einsteinno1
    Member

    Hi,

    I have only one small question. I am using Gravity Forms to place and Order Form for Vauchers on my Website. Everything is fine and works since months perfect.

    The only think I am missing is a hidden field with an order number ( f.e. VAUCHER0001 ) which raises everytime somebody sends this form. This hidden field should be like an ID for every form, so that every customer can place this number on his bank transfer paper and I get it also. It would be much easier for me to differ the people who have to pay and the people which had already payed.

    I have no idea how to create such a field with an variable that raises everytime somebody sends this form.

    Maybe somebody of you could help me out?

    thx in advance

    Posted 13 years ago on Sunday September 26, 2010 | Permalink
  2. I am after something similar, though not as a hidden field

    I did write another post, but think the two things are close enough to have the same answer

    http://forum.gravityhelp.com/topic/random-code#post-10388

    Posted 13 years ago on Monday September 27, 2010 | Permalink
  3. Einsteinno1
    Member

    nice, yeah pretty similar and due to the fact that I have no idea about coding, I hope somebody can help us.

    Posted 13 years ago on Monday September 27, 2010 | Permalink
  4. Lee Hord
    Member

    Would something like this help perhaps?

    http://forum.gravityhelp.com/topic/guid-entry-id#post-3993

    Posted 13 years ago on Monday September 27, 2010 | Permalink
  5. You would have to pre-populate a hidden field yourself, or use the entry id which you could also use as the order number. But if you want something unique you would have to use some PHP and pre-populate a hidden field using code. Lee Hord's example above is a good one.

    Posted 13 years ago on Monday September 27, 2010 | Permalink