On Fri, Aug 27, 2010 at 10:37 AM, David Mintz <[email protected]> wrote:
> Long story, but I would like to add a form element -- it might as well be '
> hidden' -- set its value and manually mark it as valid before calling
> validate so that this element name/value will be in the $context that a
> validator requires. I would rather not render this element along with the
> rest of the form because it's basically none of the end user's business.
>
> if ($this->getRequest()->isPost()) {
> $personForm->person_type_id->setValue(1);
>
>
And then I accidentally sent the message prematurely but I guess that's
pretty much the story.
Thanks in advance for any suggestions.
--
Support real health care reform:
http://phimg.org/
--
David Mintz
http://davidmintz.org/