Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7003

Implement client-side dynamic population on form fields

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • 2.101.0
    • None

      Summary

      GravityForms provides a method for auto-populating form fields based on url query strings.

      One common use case for that is utm tags. By enabling the appropriate checkbox on certain (hidden) fields the form can save these values as part of the individual entries. That implementation is done server-side, so it doesn't work reliably with Cloudflare cache, since utm tags are part of the common query strings that don't bypass cache.

      GPCH has solved this issue (see links below) by implementing a client-side solution. We should check this implementation and adopt/integrate it in our theme as a global solution.

      Requirments

      • To limit the scope of this implemetation, we could support only hidden fields for this first iteration.

      Resources

            oagbernd Osong Agberndifor
            nroussos Nikos Roussos
            Dan Tovbein Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: