Re: Multiple Pulldowns

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12104
interpreted = N
texte = >I'd like to use multiple pull-downs for date entries ie. > >Date: >Pulldown 1 for month / pulldown 2 for date / pulldown 3 for year > >which when written to the database will look like mm/dd/yyyy in a single >date field. >Does anyone know how to accomplish this? I'm not sure if its a standard >HTML thing that I'm not aware of or if I have to gat fancy with all that >WebDNA stuff that keeps Ken outta trouble. Any ideas? > >Thanks as always >-martyHi Marty,Try this out, it's a way but certainly not the only way.It's easier to explain with the code:First declare the variables the way Gary suggested: ================================ somedateform.html

Hi Marty here's the code

/ / {don't forget the submit code at the end of the form}================================Then use the [append...] and [Interpret...] contexts in the next pagesomereply.html

You dun it

[append db=some.db][Interpret]Date=[Month]/[Day]/[Year][/Interpret][/append]=================================Works for me :-)Matt Associated Messages, from the most recent to the oldest:

    
  1. Re: Multiple Pulldowns (Grant Hulbert 1997)
  2. Re: Multiple Pulldowns (John Hill 1997)
  3. Re: Multiple Pulldowns (msteele@dns.planeteria.net 1997)
  4. Re: Multiple Pulldowns (Marty Schmid 1997)
  5. Re: Multiple Pulldowns (grichter@panavise.com (Gary Richter) 1997)
  6. Re: Multiple Pulldowns (Marty Schmid 1997)
  7. Re: Multiple Pulldowns (grichter@panavise.com (Gary Richter) 1997)
  8. Multiple Pulldowns (Marty Schmid 1997)
  9. Re: Multiple Pulldowns/Gary (msteele 1997)
  10. Re: Multiple Pulldowns (msteele 1997)
>I'd like to use multiple pull-downs for date entries ie. > >Date: >Pulldown 1 for month / pulldown 2 for date / pulldown 3 for year > >which when written to the database will look like mm/dd/yyyy in a single >date field. >Does anyone know how to accomplish this? I'm not sure if its a standard >HTML thing that I'm not aware of or if I have to gat fancy with all that >WebDNA stuff that keeps Ken outta trouble. Any ideas? > >Thanks as always >-martyHi Marty,Try this out, it's a way but certainly not the only way.It's easier to explain with the code:First declare the variables the way Gary suggested: ================================ somedateform.html

Hi Marty here's the code

/ / {don't forget the submit code at the end of the form}================================Then use the [append...] and [Interpret...] contexts in the next pagesomereply.html

You dun it

[append db=some.db][interpret]Date=[Month]/[Day]/[Year][/Interpret][/append]=================================Works for me :-)Matt msteele

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:

Shopping Carts (2000) BUG SiteBuilder FAQ and?? (2005) emailer (1997) Re:multiple digests, please stop (1997) Last freebie (1998) Tech question about web dna actions (1998) WebCat 3.0 Serial Numbers (1999) [shownext max=?] armed (1997) [OT] Democratic Code (2002) XML Parse with XML WebDNA Syntax... (2004) Search Order? (2000) Help formatting search results w/ table (1997) [OT] What System Software? (2003) WebCat 3? (2000) How many lookups does it take ... (2003) [subtotal] problems -- help? (1998) template includes encrypted template (1999) Emailer (1997) [GROUPS] followup (1997) Header info in content (1998)