[TYPO3-english] feuser checkbox issue

typo3 at gcnpublishing.com typo3 at gcnpublishing.com
Mon May 11 23:05:42 CEST 2009

Hi all,

i have a group of user defined checkbox that i added to fe_users system. i
also have declared it as required field in the typo3 setup. i want user to
pick at least one checkbox when he submits the fe-user form. everything
works fine except that this field is not required when submitting a form.
i also edited the following files and did the below so that the checkboxes
would be checked.

1. typo3/sysext.cms/tslib/class.tslib_content.php - Line 1946
- old: if ($confData['required'] && $confData['type']!='check')
- new: if ($confData['required'])
2. t3lib/jsfunc.validateform.js - Line 102
- add following 3 lines:
 case "checkbox":
 value = fObj.checked;
3. typo3/wizard_forms.php - Line 444
old: if (!t3lib_div::inList('check,hidden,submit,label',$confData['type']))
new: if (!t3lib_div::inList('hidden,submit,label',$confData['type']))

after all this the checkbox are still not required. onyone knows how to
make it required? i would appreciate any pointer. Thank you.


But still i can get through the form without checking any checkbox

More information about the TYPO3-english mailing list