dynamic behavior on form elements
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Wed, 13 Jul 2005 10:21:21 +0000 |
| Subject: | dynamic behavior on form elements | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19963@lists.php.net to get a copy of this message | ||
Anybody knows how I can disable/set static content (not from a DB) to an
input text box when an option is selected in a selection list? I'm using
the PageController pattern with FormBuilder.
It seems to me that I could addRule() in the postGenerateForm() of my DO
subclass, and then may be to set up a javascript to do that, I'm not sure
about this, any help or example code?
best regards