Simple validation

This is only client-side simple javascript validation. You can use default presets or create your own RegExp

HIDE CODE
<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('employees');
    $xcrud->validation_required('lastName',2)->validation_required('firstName',2)->validation_required('jobTitle');
    $xcrud->validation_required('email');
    $xcrud->validation_pattern('email','email')->validation_pattern('extension','alpha_numeric')->validation_pattern('officeCode','natural');
    $xcrud->limit(10);
    echo $xcrud->render();
?>

Employees

#LastnameFirstnameExtensionEmailOfficecodeReportstoJobtitle
Actions
1GerardMartinmx2312mgerard@classicmodelcars.com41102Sales Rep View Edit Remove
2 View Edit Remove
3azertberthetotot.frberthe.azert@myoffice.com1' View Edit Remove
43432432kjkjkjkpippo.dadmkmkma98898989pippo.dada.3432432@myoffice.com6 View Edit Remove
5 View Edit Remove
6 View Edit Remove
78 View Edit Remove
8FaustoHerreraRoi_4herrera.fausto@myoffice.com8 View Edit Remove
9HerreraFaustoRoi_4faustoherrera@outlook.com7 View Edit Remove
10 View Edit Remove
Search