Re: QuickForms/ITStatic fatal error: undefined function placeholderexists()

From: Date: Mon, 28 Jun 2004 23:59:18 +0000
Subject: Re: QuickForms/ITStatic fatal error: undefined function placeholderexists()
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13390@lists.php.net to get a copy of this message
"Bertrand Mansion" <bmansion@mamasam.com> wrote: >You should have a look at the ITStatic examples provided with the package in the >docs/ directory. They are also available online in >http://cvs.php.net/pear/HTML_QuickForm >Sidenote: apparently, your form is dynamically constructed, I recommend you use >the dynamic renderer ITDynamic. The different renderers are described in the >manual. Well the form is formatted in so many varrying ways - it doesn't seem practical at this time. Can you not explain why adding a group is likely to generate that error? If I simply comment out the line in my code (in previous post): $form->addGroup($group, $element['formInfo']['name'], $element['formInfo']['label'], '&nbsp;'); Then I don't get this error and the form renders fine. I've been going by the examples at: http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-renderer-itstatic.php and http://www.thelinuxconsultancy.co.uk/quickform.html One thing maybe worth adding... the example in that first link shows: require_once 'HTML/Template/Sigma.php'; require_once 'HTML/QuickForm/Renderer/ITStatic.php'; but when I tried that - I got an error. Thinking it was a typo - i changed the reference to Sigma.php to IT.php.

« previous php.pear.general (#13390) next »