[TYPO3-core] RFC #1402: Text area / RTE fields can't be set to required at the moment.
Susanne Moog
info at susannemoog.de
Fri May 28 12:25:31 CEST 2010
Hi,
this is a SVN patch request.
Type: Bugfix / mini feature
Branches: trunk
Bugtracker reference: http://bugs.typo3.org/view.php?id=1402
Problem:
Text area / RTE fields can't be set to required at the moment.
Solution:
Make it possible.
How to test:
Add:
$TCA['tt_content']['columns']['bodytext']['config']['eval'] = 'required';
to your ext_tables.php file and open a content element with a text field
(text or text with image...). Saving is possible without entering some
text. Apply the patch and try again.
Notes:
The patch is originally from Stucki (bug is from 2005, patch from 2007,
on the core list in 2010 -> fast one ;))
I'll take care about the documentation when it gets committed.
Susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1402-1.diff
Type: text/x-patch
Size: 977 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100528/bf14d4cb/attachment.bin>
More information about the TYPO3-team-core
mailing list