You would probably have better luck checking for unique username in a
validation function rather than beforeSave

Sean

On Aug 30, 4:49 am, AJ Mercer <[email protected]> wrote:
> In the webtop when viewing a type and user the filter beforeSave function is
> called
>     \farcry\core\tags\formtools\processformobjects.cfm
>
> Is this necessary?
>
> Seems to me could cause issues if one assumes that it is only called before
> data is saved.
>
> I have come unstuck as I have put a check in to ensure user name is unique
> before it is saved.
> I have client side checking in place, but now I want to add server side
> checking as well
>
> What would be the best way of achieving this?
>
> --
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
> community="Open" /> <http://webonix.org>http://twitter.com/webonix

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to