Create one field and attach to the first form.
Create a second field identical to the first, but hidden, and attach it to
the second form.

Have some javascript attached to the first field that copies the contents of
the first field to the second field whenever a change is made.

Wiebe

-----Original Message-----
From: Ciaran Hanley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 22, 2004 10:12 AM
To: Struts User Mailing List
Subject: Sharing Fields Between 2 Forms

Hello,

 

Is it possible for forms to share a common field? 

I have two forms on a page which both need to gather data from a
html:textarea.

 

I do not want to have two textareas on the JSP however so I can I share one
between both forms?

 

Thanks,

CH



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to