Re: farcry 6.2.* formtool UUID property ftvalidation="required" still validates if no UUID is selected

Geoff Bowers <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAKvFMZ1Sh29abFMjvHPbwizeN7UNT_Z+DGJeXjTwoNT6NNLuWw@mail.gmail.com>
Do you mean custom formtool or custom content type?

fttype="UUID" should already have a required validation option.  If it
doesn't we should address that as a bug on the UUID formtool.

GB


On 20 May 2013 16:25, Matthew Attanasio <matthew-s5+8xnkFq1N97EbBUNGEsFaTQe2KTcn/@public.gmane.org>wrote:

> Hello All.
>
> I have built a custom formtool that has a property assigned as UUID and
> would like to add validation to the property so that the user has to pick
> an object before they can save it in farcry. I have added the
> required="true" and ftValidation="required" to the property but I am able
> to create an object and save it with out having to add an uuid to that
> property.
>
> Here is an example of what I have now, I have changed the name, ftJoin and
> ftLabel fields
>
> <cfproperty name="testProperty" type="uuid" ftSeq="2" ftFieldset="General
> Details" ftWizardStep="General Details" ftLabel="Test Label" required=
> "true" ftJoin="testObject"  ftHint="" ftvalidation="required">
>
> Is this even possible in farcry at the moment to do?
>
> Regards Matthew.
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.