I have this html form:
inside my php file:
Code:
<html>
<head>
<title>A BASIC HTML FORM</title>
<form name="sms-generator" id="sms-gen" method="GET">
<br><b>Zvoľ či si Registrovaný / Neregistrovaný Hráč</b><br><br>
<input type="radio" NAME="type" id ="type" value="STATUS" checked> Registrovaný<br>
<input type="radio" NAME="type" id ="type" value="STATUS" checked> Neregistrovaný<br>
<b>Doplň tvoje USERNAME(Iba v prípade registrovaných hráčov)</b><br><br>
<input type="text" NAME="username" id="username" class="text" maxlength="20" /><br><br>
<b>Doplň Heslo pre prihlásenie na server</b><br><br>
<input type="text" NAME="password" id="password" class="text" maxlength="20" required/><br><br>
<br>
<input type="submit" value="Generovať"><br>
<br>
<font size = '4' color='yellow'><b>Vygenerovaný Tvar:</b></font><br><br>
</form></head></html>
I want off column username if he choose option Neregistrovaný(unregistered) i want to disable column username. How to do? Have you any idea please?