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.

Random Code

  1. Is there a way to show a random & unique code each time a form is loaded in?

    I want to have users fill in a form and be given a random code. They can then give this when paying by Paypal, check, bank transfer, etc.

    EDIT:
    It seems that what I've asked is very similar to another recent post at http://forum.gravityhelp.com/topic/order-id-that-raises-with-every-order-hidden-field

    Posted 14 years ago on Monday September 27, 2010 | Permalink
  2. There is no built in random number generator. However, you can use PHP and pre-populate a hidden field with a random number that you generate using custom code.

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