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

Form submissions are not enforced as Ajax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Merged
    • Icon: Should have Should have
    • 2.97.0
    • None
    • 3
    • Forms
    • iocaste

      Summary

      We enforced Ajax submissions on PLANET-6843. But it seems that the change only changes the frontend toggle without actually changing the value.

      By default the toggle is on and switchin to the Code editor we can see what's been saved:

      <!-- wp:gravityforms/form {"formId":"1"} /-->
      

      If we switch that toggle off we can see there is an ajax variable that should have been there as "true".

      <!-- wp:gravityforms/form {"formId":"1","ajax":false} /-->
      

      This results in all forms using GravityForm's default submission method (non-Ajax) while editors may think otherwise looking at the toggle. Even more they can't enable the toggle because because it always has the same effect because of our filter.

      Resources

            nroussos Nikos Roussos
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: