Bug #21894
closed
Flexforms: no exclamation mark for required fields
Added by Steffen Gebert almost 15 years ago.
Updated about 6 years ago.
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
I can confirm this error, a solution would be great.
Steffen, did you analyze this any further? Could it just be a CSS issue here?
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.
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.
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);
- Status changed from Resolved to Closed
Also available in: Atom
PDF