Select ALL...

  • Thread starter Thread starter 116
  • Start date Start date
1

116

I have a few fields that have similiar data entered, to save some clicks
would like a button that when clicked will copy the text from its adjacent
field. Is any sample script that I can view?

Thanks
David
 
Where in FrontPage are you trying to do this?
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---------------------------
:I have a few fields that have similiar data entered, to save some clicks
: would like a button that when clicked will copy the text from its adjacent
: field. Is any sample script that I can view?
:
: Thanks
: David
 
Javascript is what you seek- you can use a js function to read and set the
values of a form. quicky below



<form name="MyForm">
<input name="ShippingLast"
---a bunch of other Shipping{items}---
<input name="BillingLast">
.....

somewhere
<button onclick="document.MyForm.BillingLast.value =
document.MyForm.ShippingLast.value;">Duplicate</button>






116 said:
FP2003 on a forms page (blah.asp) The fields in reference are for data
entry.

David

Tom [Pepper] Willett said:
Where in FrontPage are you trying to do this?
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---------------------------
:I have a few fields that have similiar data entered, to save some clicks
: would like a button that when clicked will copy the text from its
adjacent
: field. Is any sample script that I can view?
:
: Thanks
: David
 
Back
Top