odoo/odoo#225545

Created by Davide Bonetto (dabo)
Merged at 584af191035bef8c398a9fbb02467b9571844d76

Statuses:

label
odoo-dev:17.0-form-input-without-label-are-sent-dabo
head
c80173fb43f364691694c54f00090bfc3e402872
merged
2 days ago by Website, Robin Lejeune (role)
odoo/odoo
17.0 #225545
18.0 #237772
saas-18.2 #237805
saas-18.3 #238011 missing r+
saas-18.4 #238026 missing r+
19.0 #238031 missing statuses missing r+
master

[FIX] website: form inputs without label are still sent

Before this commit, a form input without a label would not send its data when clicking send.

Steps to reproduce
- go to the website editor
- add a form
- choose any field
- delete the field label
- save and exit the editor
- now in the website, fill the form and click send => the fields without a name label are not sent

After this commit fields without a label get sent with a placeholder "unknown_field"

task-5062575