Bug #21894
closedFlexforms: no exclamation mark for required fields
0%
Description
When a field in a Flexform (e.g. EXT:comments "Triggering prefix") is set to required, but user wants to save it with empty value, the warning is shown:
The fields marked with a yellow exclamation mark are not yet correctly filled in. Please complete them properly.
Unfortunately there is no exclamation mark anywhere!
This seems to have never worked (at least not in 4.3 and 4.2)
(issue imported from #M13117)
Files
Updated by Lina Wolf over 14 years ago
I can confirm this error, a solution would be great.
Updated by Oliver Hader over 14 years ago
Steffen, did you analyze this any further? Could it just be a CSS issue here?
Updated by Steffen Gebert over 14 years ago
I don't remember exactly, but I doubt it is an easy bug but more a missing feature. Will try to have a look again this weekend.
Updated by Lina Wolf over 14 years ago
When you change a flexform defination wich had a non-required field before and then open an excisting element wich is breaking the reuirement, you will see an exclamation mark marking the whole flexform. you will see none on the field wich is causing the problem so.
I suppose the missing exclamation mark in general is a Javascript problem. The exclamation mark on a single flexform field seems to bve a missing feature as it is never shown and there is no clear.gif placeholder either.
Updated by Giuseppe Donato over 14 years ago
I changed checkElementByType in jsfunc.tbe_editor.js:
I found :
TBE_EDITOR.setImage('req_'+elementData.requiredIimg, TBE_EDITOR.images.req);
and i change it into:
TBE_EDITOR.setImage('req_'+elementData.requiredParameter.img, TBE_EDITOR.images.req);