Re: checkbox results written to a database

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24093
interpreted = N
texte = On 2/25/1999 5:38 pm, gravesource so noted...>I need to write to a database wheter a user has checked a yes box or a >No bo on a form. > >All my other fields are being written correctly. > >How would I go about coding a checkbox entry on a form???Is there a case where you want the user to be able to check both yes *and* no? If not, using a pop-up menu or radio buttons would be a better choice to get a single, unique value.Yes

NoThen for the appending,[append db=mail.db]uniqueID=[cart]&date=[date]&name=[name]&email=[email]&choice=[ch oice][/append]Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: checkbox results written to a database (Kenneth Grome 1999)
  2. Re: checkbox results written to a database (Kenneth Grome 1999)
  3. Re: checkbox results written to a database (Rob Marquardt 1999)
  4. Re: checkbox results written to a database (kwas 1999)
  5. checkbox results written to a database (gravesource 1999)
On 2/25/1999 5:38 pm, gravesource so noted...>I need to write to a database wheter a user has checked a yes box or a >No bo on a form. > >All my other fields are being written correctly. > >How would I go about coding a checkbox entry on a form???Is there a case where you want the user to be able to check both yes *and* no? If not, using a pop-up menu or radio buttons would be a better choice to get a single, unique value.Yes

NoThen for the appending,[append db=mail.db]uniqueID=[cart]&date=[date]&name=[name]&email=[email]&choice=[ch oice][/append]Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

[WebDNA] Grep and "?" (2012) WebCat2 - [format thousands] (1997) Search/sort in URL Was: GuestBook example (1997) Next X hits (1996) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Affiliate Marketing Question #2 (1998) Design Help Needed (1998) CommandSecurity? (1997) grouping fields (1999) WebCatalog2 Feature Feedback (1996) OT: 800x600 (2003) [OT] I'm looking for a new job ... (2004) [OT] Tumbleweed.... (2004) Credit Card Gateways (2005) anyone know how to restart dbserver on NT automatically (1999) WC 2.0 frames feature (1997) Problem about [CART] number (1998) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) charging? (2001) Major bug report on rootbeer (1997)