Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplicating Field Values Into Another

R5 - Web Applications

Duplicating Field Values Into Another

by  NiteLink  Posted    (Edited  )
You create a button by selecting 'Javascript' on the 'Run' drop down option. Put the code in 'onClick' event. e.g

document.forms[0].b.value = document.forms[0].a.value
document.forms[0].b2.value = document.forms[0].a2.value
document.forms[0].b3.value = document.forms[0].a3.value
.
.
.
until the nth field.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top