Small updates/changes

Small update adding the ability to specify where the error css class
will be added as well as checking for input type=number.