I have bound a form to a cfdiv for the purpose of filter as you fill out the
form kinda thing.
<cfdiv bind="url:[EMAIL PROTECTED]&[EMAIL PROTECTED]&[EMAIL PROTECTED]&[EMAIL
PROTECTED]&[EMAIL PROTECTED]&[EMAIL PROTECTED]&[EMAIL PROTECTED]&[EMAIL
PROTECTED]&[EMAIL PROTECTED]&[EMAIL PROTECTED]&[EMAIL PROTECTED]&[EMAIL
PROTECTED]&[EMAIL PROTECTED]" />
everything is working fine, however I only want it to filter after the third
character typed in the CompanyName field. Does anyone know of a way to tie in
a javascript function to check if the length of the field value is GTE 3 before
it binds/searches?
right now I have it set to @keypress, is there a way to write a custom function
like [EMAIL PROTECTED](document.myform.CompanyName.value.length >= 3){keypress}}
any ideas?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293272
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4