Re: Adding a donation amount

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31183
interpreted = N
texte = >I'm doing an online shop for a charity. We will be selling a bunch >of products, but we also need the option of allowing people to add a >donation on top of their purchases. I've been advised that the >donation needs to be treated as a product. That's fine. But I want >the user to be able to enter the amount, any amount from $1 to >whatever! (of course, no donation at all if they don't want to). A >pop-up menu would probably suffice (I don't want to limit anybody), >but a user-entered amount would be preferable. > >How can I achieve this?Simple, set the value to $1 in the db, then let them use the quantity field to set the number of $1 donations they want to make. They'll just have to put 1000 in the quantity field if they are going to make a $1000 donation ...:) ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Adding a donation amount (Kenneth Grome 2000)
  2. Re: Adding a donation amount (Tim Robinson 2000)
  3. Re: Adding a donation amount (Stuart Tremain 2000)
  4. Adding a donation amount (Tim Robinson 2000)
>I'm doing an online shop for a charity. We will be selling a bunch >of products, but we also need the option of allowing people to add a >donation on top of their purchases. I've been advised that the >donation needs to be treated as a product. That's fine. But I want >the user to be able to enter the amount, any amount from $1 to >whatever! (of course, no donation at all if they don't want to). A >pop-up menu would probably suffice (I don't want to limit anybody), >but a user-entered amount would be preferable. > >How can I achieve this?Simple, set the value to $1 in the db, then let them use the quantity field to set the number of $1 donations they want to make. They'll just have to put 1000 in the quantity field if they are going to make a $1000 donation ...:) ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

What am I missing (1997) Error Lob.db records error message not name (1997) FW: Virus Alert: FBI Finds 911 Virus Wiping Out Hard DrivesToday (2000) WebDNA Solutions ... sorry! (1997) Form/HTML Help (2000) UPS online - Alaska and Hawaii (2003) [username][password] not showing up! HELP! (1999) [WebDNA] WebDNA 8.6.4 (2020) shipping costs (1999) weight based shipping cost questions (1997) Order not created error (never mind) (1997) Not really WebCat (1997) Searching for all records (1998) read and write you own cookies with webcat (1997) WebDNS and RSS (2003) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) File Uploads: WebCat/SiteEdit (1998) Caching [include] files ... (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) Calculating multiple shipping... (1997)