[dev] Horde_Form buttons
Andrew Coleman
mercury at appisolutions.net
Wed Jul 28 10:08:48 PDT 2004
On Jul 28, 2004, at 3:53 AM, Jan Schneider wrote:
>
> Do you by chance call $this->setButtons() after that? That would
> override
> the previously set buttons. Try $this->setButtons(array(_("Submit"),
> _("Save Item"), _("Delete Item"))) instead.
>
> Jan.
I do not call setButtons after that. I have since changed the code to
always setButtons(array(_("Save Changes"))); and then
appendButtons(array(_("Delete Item")));
When i render the form, i call $form->submit()... So i called
$form->submit(array(_("Save Changes"), _("Delete Item"))); and i got
the buttons i want, but neither of them act the way they should... Any
more ideas?
--
Andrew Coleman
/-\ The ASCII
\ / Ribbon Campaign
X Against HTML
/ \ E-Mail!
More information about the dev
mailing list