don't validate if it's a type of submit/reset/button
refactor smartform to support testing for multiple patterns
remove demo-basic, replace with index.html