Re: QuickForm: navigation buttons?
| From: | Justin Patrin | Date: | Mon, 10 Oct 2005 18:27:56 +0000 |
| Subject: | Re: QuickForm: navigation buttons? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21327@lists.php.net to get a copy of this message | ||
On 10/10/05, Zane <softwarezman@hotmail.com> wrote:
> I am trying to create the ability for navigation buttons (or even something
> along the lines of Structure_DataGrid capabilities) for a group of records,
> say, limited to a specific customers' orders.
So why not use Structures_DataGrid? It pages data just fine.
>
> I have been scouring around the internet searching the newsgroups and such
> but haven't had any luck. Does anybody have any code snippets for QuickForm
> that show a good way for how to do this?
This really has nothing to do with QF...the buttons are your own
thing. You can add buttons to QF with 'button' or 'submit'.
>
> I figure its got to be something along the lines of a query to populate the
> DG object and then just output it at the postGenerateForm function? Or am I
> just crazy? TIA
>
postGenerateForm? Are you talking about DB_DO_FormBuilder then? Please
reformulate your question, this is very confusing.
Try DB_DataObject_FormBuilder_Frontend for data viewing and editing.
http://pear.reversefold.com/dokuwiki/doku.php?id=pear:db_dataobject_formbuilder_frontend
and
http://pear.reversefold.com/example
--
Justin Patrin