Take a look at stFilterMetaData in /plugins/farcrycms/customadmin/
dmNews.cfm, duplicating this for your name and title fields should
work.
<!--- Override the client side validation for the filter fields. --->
<cfset stFilterMetaData = structNew() />
<cfset stFilterMetaData.title.ftValidation = "" />
<cfset stFilterMetaData.name.ftValidation = "" />
Make sure you add
stFilterMetaData="#stFilterMetaData#"
to the
<ft:objectadmin
Chris.
On Nov 12, 10:04 am, James Buckingham <[email protected]> wrote:
> I've setup a Listing filter in one of our custom types, a Case Study
> type. When adding a new Case Study with have two fields Name, Title
> which are compulsory fields. We're also using these in the Listing
> filter along with a category search tree.
>
> The problem is that the listing filter seems to pick up on these
> compulsory fields and is telling our users that they have to add a
> name and title field before they can search. What if they want to just
> search by category?
>
> Is there anyway of overwriting this with the formtools ObjectAdmin
> custom tag? At the moment here is the code I'm using:
>
> <ft:objectAdmin
> title="Case Studies"
> typename="CaseStudy"
> ColumnList="title,degree,name"
> SortableColumns="title,degree,name"
> lFilterFields="title,name,catCaseStudies"
> sqlorderby="datetimelastupdated desc" />
>
> Thanks a lot,
> James
--
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