var naam = new LiveValidation('naam', { validMessage: 'Oke', wait: 5000});
naam.add(Validate.Presence, {failureMessage: "Wat is uw naam?"});
naam.add(Validate.Length, {minimum: 2, maximum:40});
naam.add(Validate.Exclusion, { within: [ '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '+', '$', '(', ')' ],  partialMatch: true, failureMessage: "Bevat ongeldige tekens!" } );

var woonplaats = new LiveValidation('woonplaats', { validMessage: 'Oke', wait: 5000});
woonplaats.add(Validate.Length, {minimum: 2, maximum:60});
woonplaats.add(Validate.Exclusion, { within: [ '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '+', '$', '(', ')', '@', '!', '#', '%', '^', '*', '=', '<', '>', '~', '{'  ],  partialMatch: true, failureMessage: "Bevat ongeldige tekens!" } );

var email = new LiveValidation('email', { validMessage: 'Oke', wait: 5000});
email.add( Validate.Email );
email.add(Validate.Presence, {failureMessage: "Wat is uw e-mailadres?"});
email.add(Validate.Length, {minimum: 2, maximum:50});

var reactie = new LiveValidation('reactie', { validMessage: 'Oke', wait: 5000, onlyOnSubmit: true});
reactie.add(Validate.Presence, {failureMessage: "!"});
reactie.add(Validate.Exclusion, { within: [ '$', '<', '>',  ],  partialMatch: true, failureMessage: "Uw reactie bevat ongeldige tekens!" } );
reactie.add(Validate.Exclusion, { within: [ 'ahref' , 'href', 'porn', 'sex', 'pron', 'penis', 'kut', 'pussy', 'cunt', 'viagra', 'php', 'sql', 'mysql', 'kanker', 'cancer', 'fuck', 'ass', 'pr0n', 'tyfus', 'cock', 'tits', 'tieten', 'childporn', 'rape', 'sperm', 'blowjob', 'swaffelen', 'fucking', 'neuken', 'neuk', 'porno', 'beffen', 'clitoris', 'anal', 'anaal', 'fisting', 'visten', 'script', 'javascript', 'java', 'pijpen', 'vingeren', 'cunnilingus', 'fellatio' ], partialMatch: true, failureMessage: "Uw reactie bevat ongeldige woorden!"} );


