Well, I thought I had it solved. If I put $20.00 in the asking1 field and
click update, the form comes back as it should with $20.00 showing. If I
click update again without changing anything, the form comes back with $0.00
showing in the field.
Here is what I did, am I not doing something right with the radio buttons
(they are the price_option)
<cfif #Trim(arguments.price_option)# eq "negotiable" AND
len(arguments.asking1)>
price = #Val(arguments.asking1)#,
</cfif>
<cfif #Trim(arguments.price_option)# eq "fixed" and
len(arguments.asking2)>
price = #arguments.asking2#,
</cfif>
<cfif #Trim(arguments.price_option)# eq "offer" OR
#Trim(arguments.price_option)# eq "free" OR #Trim(arguments.price_option)#
eq "no_price">
price = NULL,
</cfif>
Doug B.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264894
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4