RE: [PHP] variable on 2 forms

2001-03-14 Thread Rudolf Visagie
asses 'Insert' in $p_request. Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: pablo [mailto:[EMAIL PROTECTED]] Sent: 14 March 2001 04:58 To: Miguel Loureiro; php-gen Subject: Re: [PHP] variable on 2 forms I think you'll need to use javascript. put a input with the

Re: [PHP] variable on 2 forms

2001-03-14 Thread pablo
ipt. the object structure for the forms in javascript is : document.forms[].elements[].value Good luck. Pablo [EMAIL PROTECTED] - Original Message - From: Miguel Loureiro <[EMAIL PROTECTED]> To: php-gen <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 3:58 PM Subject: [PHP]

[PHP] variable on 2 forms

2001-03-14 Thread Miguel Loureiro
Hello all, I have a normal form (form1) with a variable (var1) and a form inside a layer (form2) with a variable (var2). After submit (form1), how can I have access to var2 ? (if I must use javascript should use: document.layer.var2 or document.form2.var2 or document.layer.form2.var2 ...???