PHP Classes

File: subscription.ini

Recommend this page to a friend!
  Classes of Pierre FAUQUE   PHP JavaScript Form Validation   subscription.ini   Download  
File: subscription.ini
Role: Auxiliary data
Content type: text/plain
Description: description of the form
Class: PHP JavaScript Form Validation
Output form validation JavaScript from a INI file
Author: By
Last change:
Date: 3 years ago
Size: 1,013 bytes
 

Contents

Class file image Download
# # file : subscription.ini # [form] name=subscription [general] ; Country date (TLD, Top Level Domain) ctrydate=fr ; hour: 4 = 4 digits (HH:MN) ; 6 = 6 digits (HH:MN:SS) hour=4 [FIELDS] ; fieldname,labelname,fieldtype,compulsory(1)-or-not(0),lgmin,lgmax lname,Last name,text,1,2,25 fname,First name,text,1,2,30 sex,Sex,radio,1 bday,Birthday,date,1 email,eMail Address,mail,0,6,50 phone,Phone number,text,0,10,20 studies,Level of studies,radio,1 athl;volley;foot;swim;none,Sports,checkbox,1 cont,Contribution,num,1,3,6,100,500 idrol,Role,list,1 begdate,Beginning date,date,1 prefh,Prefered hour,hour,0 obs,Observations,text,1,1,2000 ok,Validation,valid,1 [chars] ; not for checked or selected controls (radio, checkbox, select) ; only for fields filled with characters except dates and hours) lname=letters + " '-" fname=letters + " '-" email=ascii + digits + "@-_+." phone=digits + ".- +" cont=digits + ",." obs=letters + digits + "&\"' ()[]{}-_\\@+-*/?!,.;/:\n\$%="