Contoh dari asp
Gaji.asp
(body)
(form method="post" name="FormGaji" action="Proses.Asp" >
Nama :
Golongan:
(input type="radio" name="gol" value="1">
(% if instr(gol,"1") then response.write("checked")%> 1
(input type="radio" name="gol" value="2">
(% if instr(gol,"2") then response.write("checked")%> 2
(input type="radio" name="gol" value="3">
(% if instr(gol,"3") then response.write("checked")%> 3
Status :
(input type="radio" name="Stat" value="Menikah">
(% if instr(stat,"Menikah") then response.write("checked")%> Menikah
(input type="radio" name="Stat" value="Belum Menikah">
(% if instr(stat,"Belum Menikah") then response.write("checked")%> Belum Menikah
(input type="hidden" value="New" Name="input">
(input type="submit" value="Submit">
(/form>