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.

How do I insert a sequential code on form submissions?

  1. As users submit my forms, I need the file to increase in numbers no limit. Each year the file number would change for the year 11-01 (2011) the follow year would be 12-01.

    This year we had 400 file so last number was 10-431

    Is this possible and if so , how. Thank you.

    Posted 13 years ago on Wednesday January 5, 2011 | Permalink
  2. This isn't a built in feature. Filenames are not changed, unless a duplicate exists. In order to implement something like this you would have to write a customization using PHP. You would add custom code to your themes functions.php file to tell Gravity Forms how to handle the file upload.

    See this forum thread:

    http://forum.gravityhelp.com/topic/renaming-uploaded-files-before-saving

    Posted 13 years ago on Wednesday January 5, 2011 | Permalink
  3. Thanks very Much Carl. is this customization avail with a Single Site License? The forum you directed me to wont allow acess until I subscribe (i'd imagine thats what the error means)

    Posted 13 years ago on Wednesday January 5, 2011 | Permalink
  4. The customization isn't an add-on, it's custom code you would have to implement to do what you want. The customization I referenced doesn't do 100% exactly what you want (sequential) so you would have to customize it further to accomplish what you want to do. It's basically custom PHP to tell Gravity Forms what to do. You can use code to customize the Single Site License.

    Posted 13 years ago on Wednesday January 5, 2011 | Permalink