formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

Problem submiting form when i use auto fill inputs

Open jorge-teixeira opened this issue 1 year ago • 1 comments

Describe the bug There is an issue when the user uses autofill in forms. If there is validation, it does not validate and gives an error upon submission. Possibly, there are no values in the inputs when autofill is used.

To Reproduce Steps to reproduce the behavior:

  1. create a form
  2. open the form
  3. use the auto fill inputs
  4. error submiting form

Expected behavior send form when i use the auto fill browser function

Screenshots

GLPI / Plugins (please complete the following information):

Desktop (please complete the following information):

  • OS: windows 11
  • Browser edge
  • Version 129.0.2792.52 (Official build) (64-bit

Additional context Add any other context about the problem here.

jorge-teixeira avatar Sep 27 '24 12:09 jorge-teixeira

Hi

Data validation is implemented server side only. This is normal to get the error at form submission.

There is minor exceptions when HTML implements constraints like a range of values for a number or a text length.

In such case, the browser is responsible of the limitation and it is double checked serer side at form submission.

btry avatar Sep 27 '24 12:09 btry