the struct needs the property name too
<cfset stPropMetadata = StructNew() />
<cfset stPropMetadata.username.ftValidation = "" />
<ft:object typename="pslClient" lfields="username"
includeFieldSet="false" bValidation="false"
stPropMetadata="#stPropMetadata#" />
2009/3/11 AJ Mercer <[email protected]>
> I have a component with a property (username) which I have defined
> ftEditUsername
> ftAjaxUsername
>
> Which is working fine for forms that require username to be validated
>
>
> I have another form in whcih I dont whant the field to be validated, so did
> this
> <ft:object typename="pslClient" lfields="username"
> includeFieldSet="false" bValidation="false" />
> but it doesn't appear that to pass anything to my component
>
> So I tried this
> <cfset stProperties = StructNew() />
> <cfset stProperties['bValidation'] = false />
> <ft:object typename="pslClient" lfields="username"
> includeFieldSet="false" bValidation="#stProperties.bValidation#"
> stPropMetadata="#stProperties#" />
> and that doesnt seem to be sending anything either.
>
>
> How do I go about telling FormTools I don't want validation on this field
> (in this form)
>
>
> --
> AJ Mercer
> Web Log: http://webonix.net
>
--
AJ Mercer
Web Log: http://webonix.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---