Re: FormBuilder submit button keeping record open?
| From: | Jocke Selin | Date: | Thu, 13 Oct 2005 08:08:48 +0000 |
| Subject: | Re: FormBuilder submit button keeping record open? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21431@lists.php.net to get a copy of this message | ||
On 10/12/05, Wright Zane A A1C 30 IS/DOMM <Zane.Wright@langley.af.mil> wrote:
> Have a situation here... I am working on migrating to the web from a
> bunch of MS Access forms. I have about everything done but one small
> section. In Access I had originally a "Save" and a "Save and Close"
> button. I am looking to duplicate the Save button, where it saves the
> record and yet still keeps it open for use by the user.
I wanted to do a similar thing just a few weeks back. My solution was
to use clone() to make a copy of, in your case, $do, I used one for
validating the form, and one for displaying the form.
/Jocke