input pattern

Is there a way to add a given pattern to a input or tekst object?
so i can pre-validate the input.
(like numeric input with or without decimals, or only positive numbers etc.)
thanks

see also:
http://www.w3schools.com/TAGS/att_input_pattern.asp

Please see information about form validation here:
docs.dhtmlx.com/touch/doku.php?i … tmlx_touch

thanks