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.

Is it possible to edit the IDs of forms?

  1. I'm curious to know if there's an easy way to edit/change the IDs of forms?

    Reason is, I have two identical versions of my website: Live version, and staging version. I have about 10 forms (identical on each site). But over time I removed and added forms on the live site, without making the same changes on the staging site. So now, as I'm trying to make the two sites identical again, I have a situation where I have the same set of 10 forms on each site, but those 10 forms are assigned different IDs between the 2 sites.

    Since I'm embedding the forms using the template tags, this results in having to change the form ID in the tag every time I want to tweak it on the staging site, then correct that form ID when I'm copying it over to the live site.

    Not a huge deal, but it would be way easier to manage (and less chance to screw something up) if I could just match up all of my form IDs between the live site and staging site.

    Thoughts?

    Posted 12 years ago on Wednesday October 17, 2012 | Permalink
  2. I would also like to know if this is possible without having to go into the database and change them by hand.

    Posted 12 years ago on Wednesday October 17, 2012 | Permalink
  3. There is no way that I know of to renumber the forms or change the form numbers without doing it in the database. And you would have to do it in multiple places.

    This was another user's request:
    http://www.gravityhelp.com/forums/topic/embed-form-via-title

    If the forms could be embedded by title rather than ID, then you would not have the issue of syncing staging or development with production.

    Posted 12 years ago on Thursday October 18, 2012 | Permalink