[TYPO3-dev] BE Form problem
Sebastiaan van Parijs
sebastiaan at framed.nl
Thu Jun 18 16:23:02 CEST 2009
Its kind of a complicated MOD, but i have a empty DIV. That i fill with
a XAJAX function.
function loadAddObject( $arg ){
$field = new field();
$content = $field->addObject( $arg );
$objResponse = new tx_xajax_response();
$objResponse->addAssign('newObject', 'innerHTML', $content );
return $objResponse->getXML();
}
function addObject( $arg ){
$htmlCode = array();
$htmlCode[] = '<form id="addObject" name="addObject" >';
........ Loads of HTML CODE ........
$htmlCode[] = '</form>';
return implode(chr(10),$htmlCode);
}
It returns all the HTML Code except, the Form Tags...
Any idea's?
Stéphane Baribeau wrote:
> Hi,
> Can you show some code that you use to show you form?
> Are you able to show some kind of other data?
>
>
> 2009/6/18 Sebastiaan van Parijs <sebastiaan at framed.nl>
>
>> Hey Guys,
>>
>> Im building a little project, and for some strange reason i cannot get
>> my form Code to show. Example:
>> <form id="test" name="test">
>> </form>
>>
>> I used the </form> to close the premade form, but i still can't get my
>> form code to show anyone have/had the same problem.
>> Please help?
>>
>> Sebastiaan van Parijs
>> _______________________________________________
>> TYPO3-dev mailing list
>> TYPO3-dev at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>>
More information about the TYPO3-dev
mailing list