alo all, plz help how to validate registration form from wml (Check Reg).
this my wml script:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card id="maba" title="Form Pendaftaran">
<do type="accept" label="Daftar">
<go method="post" href="simpan_maba.php">
<postfield name="nama" value="$(nm)"/>
<postfield name="tpt_lahir" value="$(tpt)"/>
<postfield name="tgl_lahir" value="$(tgl)"/>
<postfield name="jns_kel" value="$(kel)"/>
<postfield name="agama" value="$(agama)"/>
</go>
</do>
<p align="center">

</p>
<p align="left">
Nama :<input type="text" name="nm"/>
Tempat lahir :<input type="text" name="tpt"/>
Tanggal lahir:<input type="text" name="tgl"/>
Jenis Kel.:
<select name="kel">
<option value="L">Laki-laki</option>
<option value="P">Perempuan</option>
</select>
Agama:
<select name="agama">
<option value="1">Islam</option>
<option value="2">Kristen</option>
<option value="3">Katolik</option>
<option value="4">Hindu</option>
<option value="5">Budha</option>
</select>

</p>


</card>
</wml>