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!

Fill two form fields with the same content

Status
Not open for further replies.

softboy12

ISP
Feb 19, 2004
66
0
0
CH
Hi all

i use a html form with the following fields:


Anrede Besteller
Firma Besteller
Nachname Besteller
Vorname Besteller
Strasse Besteller
Postfach Besteller
PLZ Besteller
Ort Besteller
Telefon Besteller
Fax Besteller
Land Besteller
Email Besteller
Anrede Rechnungsempf.
Firma Rechnungsempf.
Nachname Rechnungsempf.
Vorname Rechnungsempf.
Strasse Rechnungsempf.
PostfachRechnungsempf.
PLZ Rechnungsempf.
Ort Rechnungsempf.
Telefon Rechnungsempf.
Fax Rechnungsempf.
Land Rechnungsempf.
Email Rechnungsempf.





now i want to do the following:

if the radio button "InhaberAdresse=Rechnungsadresse" on the same form is clicked = TRUE

then the perl script shoud fill in automatically the same content to both fields (which means p.a. Land Rechnungsempf. has then the same content as Land Besteller)

how can i implement this in perl?

many thanks in advance for your trouble

best regards

E.Altherr
 
Sounds like a client side trick. Consequently, I'd be looking at javascript.


'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top