this is the working example: http://jsfiddle.net/trustweb/sTSMW/
i notice an errore using safari 5.05
if i set a form as in an html5 page and i repleace the functionality with jquery if modernizr fail the test:
Modernizr.inputtypes.email && Modernizr.input.required && Modernizr.input.placeholder
with other browsers (firefox, chrome and opera) the browser validate the form
in ie jquery replace the validation function
in safari it dosen't work, modernizr seems to return true while testing html5 compatibilies:
yepnope(
{
test : Modernizr.inputtypes.email && Modernizr.input.required && Modernizr.input.placeholder,
nope : 'http://www.trustweb.it/webforms_home.js'
});