Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Field validation

Post Reply
martbarr
Posts: 60
Joined: Fri Oct 26, 2012 8:09 pm

Field validation

Unread post 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)
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Field validation

Unread post by admin »

Martin,

Hopefully this helps..

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

Steven
Post Reply