David,
Thanks a bunch. I just checked the file and the opening bracket is in
fact there. Don't know why/how it got dropped when I copied and pasted
it.
<SCRIPT LANGUAGE="Javascript">//function to change the cover price as
multiple quantities are chosen
function cover_price(form)
// if only one cover is chosen, the standard cover price is given
if (form.Cover_QUANTITY.selectedIndex == 0)
{
form.cover_price2.value = <cfoutput>#session.cover_cost#</cfoutput>;
}
else
{
form.cover_price2.value = (form.Cover_QUANTITY.selectedIndex *
<cfoutput>#session.cover_cost_add2#</cfoutput>) +
<cfoutput>#session.cover_cost#</cfoutput>;
}
etc.
Chris Montgomery
>-----Original Message-----
>From: David Shadovitz [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, March 25, 2000 9:30 PM
>To: [EMAIL PROTECTED]
>Subject: Re: CF, Javascript and Form Select Boxes - Need Help
>
>
>I'll take a look, but I see right away that the function
>cover_price has
>no opening bracket.
>-David
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.