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.

Feature suggestion - use string id in addition to number id in shortcode

  1. jordan
    Member

    Hi! Gravityforms is an essential part of our business and I totally love it. I thought I would share a feature suggestion after a minor problem I ran into.

    We have a bunch of forms for internal use, so we decided to split those off onto a separate domain rather than give a bunch of employees access to the production site. In order to migrate, I exported all the forms and exported the necessary static pages into which the forms were embedded (via shortcode).

    The problem here is that if you import your forms after having created forms on the new server, the form ids will no longer match up between the two sites. So all your static pages with embedded forms will no longer show the correct form. Admittedly this is a pretty small issue for us with about 10-20 form pages, but if you had even double that it could get tedious to audit and correct after a migration.

    One idea is to allow a separate id, a name field, to be used in shortcodes. Unfortunately this means the user could shoot himself in the foot by using the same name in more than one form. In this case, gravity forms could return whichever form it finds first, and it is up to user discretion to correct the forms.

    Anyway, just brainstorming. Thanks :)

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink