[TYPO3-dev] BE Form problem
Stéphane Baribeau
stephane.baribeau at sys-tech.net
Thu Jun 18 17:28:27 CEST 2009
Hello,
Seriously i have no idea! :)
but, does you section '........ Loads of HTML CODE ........' are set like
$htmlCode[] = "<h1>title</h1>";
or is in an array and you put the array into htmlCode?
2009/6/18 Sebastiaan van Parijs <sebastiaan at framed.nl>
> 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
> >>
> _______________________________________________
> 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