Feature #103545
openAdd tca option autofocus to make an input field automatically focused when creating a new record
0%
Description
This would speed up creating records like pages, categories.
Could this only be done when creating a new record but not for existing ones because that wouldn't make sense?
Since adding the autofocus
attribute via html doesn't work, this needs to be done via formengine most likely.
Updated by Stefan Bürk 4 months ago
And how to deal with:
- multiple fields having autofocus
- field with autofocus not in "active" tab
?
Updated by Simon Schaufelberger 4 months ago
· Edited
This should be the responsibility of the developers of the project. If TYPO3 would limit the field names to for example title or headline, then people would start to complain why "myspecialheadline" can't be set as autofocus.
I would believe in the wise use of this configuration and that it won't be misused.
It should only be possible to autofocus for new records, not for editing!
Would it be possible to validate tca configuration across all tca fields in form engine?