Issue Bug Resolved

#103455Honeypot randomly breaks the firefox autocomplete behavior when form is uncached

Sorin Loghin 03/21/24, 13:37 updated 10/19/26, 20:45

Description

Issue:
  • Values in a form are shifted one field to the left or right after reloading the page
Problem:
  • Firefox keeps the values entered in a form even after reload
  • Rendering the form uncached can result in the honeypot field being rendered at a different position since it is calculated randomly on each render.
  • This results in firefox filling the values in the wrong fields
Setup:
  • Place a form on a non-cacheable page. In our case we use the formvh:renderViewHelper to render the form on a detail page and the Detail-Plugin is non-cacheable
  • Open the form in firefox
  • Fill the form with values
  • Reload the page without submitting (no hard reload)
  • Values will sometimes shift depending on where the honeypot field was rendered

Reviews 2

History 28

  1. Sorin Loghin changed subject Honeypot randomly breaks the firefox autocomplete behavior Honeypot randomly breaks the firefox autocomplete behavior when form is uncached <span data-processor="relativetime" data-value="2024-03-21T13:37:48+00:00" > 03/21/24, 13:37 </span>

  2. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-19T20:45:12+00:00" > 10/19/26, 20:45 </span>

    Applied in changeset commit:957738377a2691b3fe8df825f602b0d915a035a6.