[Typo3-dev] BEform / 'type'=>'user' / typo3FormFieldSet
Thomas Murphy
murphy at thepanemgroup.com
Wed Dec 8 12:44:35 CET 2004
Hello everyone,
I'm having difficulties getting the 'type' => 'user' example working for
TCEforms.
I successfully managed to display what I want in the form, also writing
it to DB, but getting the value out of the DB back into the form doesn't
work, therefore saving it a second time deletes the value.
I figured out it might have something to do with the way typo refreshes
the form after loading it an putting all the values in place with the
'typo3FormFieldSet' javascript function at the bottom of the html source.
This is what I put out with my function (just like the example in T3
Core API):
<input type="text"
name="'.$PA['itemFormElName'].'" value="'.htmlspecialchars($PA['itemFormElValue']).'"
onchange="'.htmlspecialchars(implode('',$PA['fieldChangeFunc'])).'"
'.$PA['onFocus'].' />
Thanks for any hints,
Murphy
More information about the TYPO3-dev
mailing list