Field validation
Posted: Sun Oct 28, 2012 1:02 am
Hi,
Just getting started with nuBuilder - exciting stuff.
Is it possible to validate some of my form fields before the nuBeforeSave on the entire form.
I was thinking I could use onchange on various objects, but too late by then.
Could I save the object value when the object is entered and put it back to the original if the users doesn't follow my field rules?
I could do a batch of checks as the form is saved and return a false with an explanation box
but I think it's a nicer user experience to get it right as you go.
Any ideas?
thanks very much
Martin (in the uk)
Just getting started with nuBuilder - exciting stuff.
Is it possible to validate some of my form fields before the nuBeforeSave on the entire form.
I was thinking I could use onchange on various objects, but too late by then.
Could I save the object value when the object is entered and put it back to the original if the users doesn't follow my field rules?
I could do a batch of checks as the form is saved and return a false with an explanation box
but I think it's a nicer user experience to get it right as you go.
Any ideas?
thanks very much
Martin (in the uk)