Project

General

Profile

Actions

Bug #103455

open

Honeypot randomly breaks the firefox autocomplete behavior when form is uncached

Added by Sorin Loghin 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2024-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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
Actions

Also available in: Atom PDF