Re: [QF+FB] linking 2 fields 'on the fly'
| From: | Justin Patrin | Date: | Wed, 19 Oct 2005 21:08:22 +0000 |
| Subject: | Re: [QF+FB] linking 2 fields 'on the fly' | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21549@lists.php.net to get a copy of this message | ||
On 10/19/05, jorge <jorge.ghm@gmail.com> wrote:
> Hi!
>
> Maybe this could easy for you but is my first time working with classes
> and don't know where I am ;-)
>
> Well, the problem. I have two tables, AUTH and USERS. USERS has auth_id
> which links with AUTH.id_auth. One form with 2 nested forms (auth &
> users), a typical sign up form.
>
> What I want to do is, whitout showing USERS.auth_id in form (maybe
> hidden field), get USERS.auth_id equal to AUTH.id_auth (automatic field)
>
> I'd tried and tried and tried but nothing. Only get once but
> USERS.auth_id was visible within the form, if removed didn't work.
>
> Could be using postProcessForm()? or may I use javascript? I would like
> not to use javascript but....
>
> thanks guys :-)
>
Sorry, I have no idea what you're asking. Could you give an example?
--
Justin Patrin