nice catch dan:) i did change it to decimalformat as well and i added the outputs but nice call:)
dave > According to your source code on the last page. It looks like you > forgot to add your cfoutputs around your numberformat > without it it's trying to pass the string: #numberformat(total, > '_____.__')# instead of the dollar amount. > > Your cf code should look something like this. > > value="<cfoutput>#numberformat(total, '_____.__')#</cfoutput>"> > > Dan > > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Friday, August 29, 2003 12:53 AM > Subject: RE: output a # ? > > >> this is the page >> http://www.weblofts.com/rr.dvd/index.cfm >> >> ok, follow this closely (btw~ insert is disabled right now, so feel >> free to enter stuff) >> >> ok on that main page go to step 1 and enter an email (can be bogus) >> >> on the next page, enter a name email & make sure paypal is selected >> and near the bottom choose a few items like usa shipping and insurance >> >> this will then take u to a new page where u will see a total on a >> paypal click here to pay button >> >> click on the paypal button and u will see what i get >> >> ................................................. >> >> this is just something i sell from ebay, so just using the paypal >> extensions. The problem with them is that it wants a static total, >> grrrrr but there should be no reason why it cant be done dynamically >> >> >> >> >> >> >> >> >> >> > dave...also, what are you using to connect to paypal? i gotta site >> that immmabout to setup with paypal...and they were wondering what i >> was going to use...first merchant to use paypal...ideas? >> > >> > bueller...bueller..... >> > >> > -----Original Message----- >> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> > Sent: Friday, August 29, 2003 12:33 AM >> > To: CF-Talk >> > Subject: output a # ? >> > >> > >> > ok, i have a form that adds up some form money totals then it should >> be inserted into a paypal buy button as a dynamic total. >> > >> > the variable for the purchase total is ummm #total# >> > it on its own output the total as a whole #, like 25 then when i >> need to display it i use dollarformat. >> > >> > and this is what i put into the form to add the total >> > "#numberformat(total, '_____.__')#" >> > hoping that it would input the total as 25.00 and send it to paypal >> as such >> > >> > but i get this error from paypal >> > >> > Error Detected >> > >> > >> > >> > >> > You have entered an invalid amount. Please make sure that all >> > punctuation >> > marks are in the correct places and that you only include the >> numeric portion of the amount. For example, if the amount is five >> U.S. Dollars, you would enter 5.00. >> > >> > >> > any thoughts? >> > >> > >> > >> > >> > >> > >> > >> > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

