You would probably be better off using a validate method inside your 
content type. you can set these to validate individual properties. Default 
is to name the function "ftValidate+propertyname", e.g. ftValidateUserID

Look at ftValidateUserID in /core/packages/types/farUser.cfc for an example 
to check for unique userID.

Chris

On Monday, 19 August 2013 09:02:46 UTC+1, Xiaofeng Liu wrote:
>
> Hi,
>
> Within webtop on a custom type, if I'd like to use beforeSave() to check, 
> for example the uniqueness of username before my type record gets saved, 
> how do I bring back that validation message to display on the farcry 
> scaffolded list view or maybe the add/edit view?
>
> -- 
> Best regards,
>
> Xiaofeng
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@googlegroups.com
To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to farcry-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to