Fox Validation Examples

(:foxmessages frm list=nocheck:) (:fox frm foxaction=display :) (:foxtemplate "*{$$var1}\n*{$$var2}\n*{$$var3}":) (:foxcheck var1 msg="Please enter your name!":) Name: (:foxmessage frm var1:)
(:foxcheck var2 regex='^[0-9\-]+$' msg="Please enter your phone number!":)
Telefon: (:foxmessage frm var2:)
(:foxcheck match='56' var3 msg="Wrong answer! Please try again!":)
7 * 8 = (:foxmessage frm var3:)
(:foxend frm:)

(:foxdisplay:)


<< | Index | >>