Witam mam problem , z polami zawierajacymi:
Dane do wysylki , dane do faktury , dane kontaktowe .
Jak sprawić za pomocą checkboxu ,że pola ponizej automatyznie uzupelnią się zawartoscia pól powyzej .
Pozdrawiam
<form action="index2.php" method="GET" name="formularz"> <br><b>FORMULARZ PRENUMERATY :
</b><br> <input type="checkbox" checked="checked" /> Prenumerata roczna,począwszy od numeru :
<input type=text name="prenumerata_numery"/> w liczbie
<input type=text name="ilosc"maxlength="3"size="2" value="1"/>
<br><b>DANE KONTAKTOWE:
</b><br> Nazwa firmy ( Imię i nazwisko) :
<input type=text name="nazwa2"/><br/><br/>Ulica:
<input type=text name="adres2"/> Kod pocztowy:
<input type=text name="kod3"maxlength="2"size="1"/>-
<input type=text name="kod4"maxlength="3"size="1"/> Miasto:
<input type=text name="miasto"/><br/><br/>E-mail:
<input type=text name="email2"/> Potwierdź E-mail:
<input type=text name="email3"/> Telefon:
<input type=text name="telefon2"/><br/><br/><br><b>DANE DO FAKTURY:
</b><br> Nazwa firmy ( Imię i nazwisko) :
<input type=text name="nazwa1"/> NIP:
<input type=text name="nip1"maxlength="3" size="1"/>-
<input type=text name="nip2"maxlength="2"size="1"/>-
<input type=text name="nip3"maxlength="2" size="1"/>-
<input type=text name="nip4"maxlength="3"size="1"/> <br/><br/>Ulica:
<input type=text name="adres1"/> Kod pocztowy:
<input type=text name="kod"maxlength="2"size="1"/>-
<input type=text name="kod1"maxlength="3"size="1"/> Miasto:
<input type=text name="miasto1"/><br/><br/>
<br><b>DANE DO WYSYŁKI:
</b><br> Nazwa firmy ( Imię i nazwisko) :
<input type=text name="nazwa3"/><br/><br/>Ulica:
<input type=text name="adres3"/> Kod pocztowy:
<input type=text name="kod5"maxlength="2"size="1"/>-
<input type=text name="kod6"maxlength="3"size="1"/> Miasto:
<input type=text name="miasto3"/><br/><br/>