Is it possible to use the validation plugin in a dialog like this? I have a page with 2 parts , Master and detail, in the first one I'm already using validation and is in the second one, the detail part, which is very similar to the example I mentioned above , where I'd like to use the validation plugin, but if it is not possible, would you mind telling me how I can allow only positive numbers (integers and decimals) ?
***EDITED
I've just found this regular expression: /^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:.\d+)?$/ ,but it allows positive and negatives.What changes do I have to make to allow only positive numbers??
checkRegexp()to validate a number though. You can just combinenumber()andmin().