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:

Join us at MacWorld! - Part 2 (1998) Correct Owners & Permissions? (2000) Three new problems, maybe a fourth (1997) Looking for WebCatalog Linux experience/comments. (2001) (1997) Download (1999) MOOOOOO (2000) Subtotal help (1997) [math] and ceil (2004) RAM variables (1997) A question on sub-categories (1997) WebCat2 beta 11 - new prefs ... (1997) Trouble with formula.db (1997) A question about security (1998) docs for WebCatalog2 (1997) Strange search... (2000) PCS Frames (1997) WebCatalog NT beta 18 now available (1997) WebCommerce: Folder organization ? (1997) is there a global includes directory? (1998)