Custom Validation

Is it possible to alter a form input value inside of a custom validation function?

Would you consider passing the html object as a 2nd parameter?

I need to do thing like, validate the field and then uppercase the value (if it is a char) or validate the field and then add a decimal (when a number). This is one field can be character or numbers.

Because the html object is not passed in, I am working around this by creating a messaging structure and onValidateSuccess().

if you could pass in the form object and the id of the field being validated it would be great.


unfortunately form does not provide such functionality

I was able to develop a nice work around. Thankfully dhtmlx has many ways of doing things.