logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 07-02-2012, 06:07 PM   #1
ymdk
 
Join Date: Jul 2012
Posts: 2
Default How to populate entered into text1 into multiple textboxes

Hi, I have a form that user enters text in Text1. I need Text1 contents to be repeated throughout the form seven times in different paragraphs. What is the best way to do this ??

<input name="TEXT1" type="text" value="" size="20" maxlength="50"/>

I tried simply copying and pasting the code where needed, but this causes unnecessary blank spaces (not sure why).

How can I populate TEXT2, TEXT3, TEXT4, TEXT5, TEXT6, TEXT7 with contents of TEXT1?

Thank you.
ymdk is offline   Reply With Quote
Old 07-03-2012, 02:21 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,176
Default

have to ask why do you need it repeated?
I deleted the other post please dont duplicate posts
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 07-03-2012, 02:45 AM   #3
ymdk
 
Join Date: Jul 2012
Posts: 2
Default

The jsp form is a legal document that needs the name entered once repeated throughout the form.
ymdk is offline   Reply With Quote
Old 07-03-2012, 03:51 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,176
Default

then could it not just be collected from the one field? seems possibly redundant to make it automatic to repeat
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 07-03-2012, 03:19 PM   #5
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

Yes, what Ed said. Particularly if the fields needs to have the same value.
domedia is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com