Page 1 of 1

Field validation

Posted: Sun Oct 28, 2012 1:02 am
by martbarr
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)

Re: Field validation

Posted: Mon Oct 29, 2012 12:56 am
by admin
Martin,

Hopefully this helps..

http://wiki.nubuilder.com/tiki-index.ph ... eforeSave_

Steven