Are you leaving the ( and the ) in the EMPTYTEXT1="(choose a category)"?
If so the tag may be putting those attributes into some JavaScript which a ( and a )
could throw an error.
J.J. M
------------------------------
Date: Wed, 07 Feb 2001 00:50:31 -0500
From: "Vikram Ponuganti" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Fw: CF_TwoSelectsRelated custom tag error
Message-ID: <[EMAIL PROTECTED]>
Hi ...
I downloaded this tag from the Devolopers Exchange ... But iam unable to run
it as its giving an Javascript error... and
also its taking a lot of download time.,...
Could someone provide a solution Pleaseeee or does anyone one else has a
code snippette
Thanks
Vikram
<cfquery datasource="vprod" name="Cats" maxrows="5000">
select brands.brandid bid,brands.brandname bname,products.productid
pid,products.productname pname from brands,products order by bid
</cfquery>
<FORM ACTION="viktest.cfm" METHOD="POST" onSubmit="return
require_Selected();" Name="viktest">
<CF_TwoSelectsRelated
QUERY="Cats"
NAME1="Cat"
NAME2="Selected"
DISPLAY1="bname"
DISPLAY2="pname"
VALUE1="bid"
VALUE2="bid"
FORCEWIDTH1="70"
FORCEWIDTH2="70"
SIZE1="5"
SIZE2="5"
HTMLBETWEEN="kkk"
AUTOSELECTFIRST="Yes"
EMPTYTEXT1="(choose a category)"
EMPTYTEXT2="(now choose a subcategory)"
ONCHANGE="Submit!"
FORMNAME="viktest">
</FORM>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists