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.

Auto Generation

  1. Hi, code newbie here.

    Is there a way to auto-generate a serial number, or id with configured letter/number sequence in a hidden field when a form has been submitted. For instance, when a form has been submitted, take the user's first character of their first name and first character of their last name, add a sequential number.

    For example if Jane Smith submitted the 8th form entry, the hidden id would be JS-00008.

    Hope this makes sense. Thank you for any help!

    Posted 12 years ago on Monday September 12, 2011 | Permalink
  2. Random number generation isn't a built in feature. It can be done but only by dynamically populating a field. Here is a forum post that discusses this:

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

    There is also a tutorial in the How To section of the Documentation that explains how to dynamically populate a field.

    Posted 12 years ago on Monday September 12, 2011 | Permalink

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