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:

Moving a record from one dataabse to another. (2000) [WebDNA] CICADA (2009) Advice on MacOS & TCP Connects (2000) TaxTotal Problem (1997) WebCatalog & Mac OS X (client) vs. Redhat Linux (2001) [WriteFile] problems (1997) Tip for making barcharts (1997) test (2004) Generating Options for a Form. (1997) Interfacing WebMerchant to www.fedex.com (1997) [WebDNA] WebDNA slow processing (2011) Here we go again... (2006) Webstar 1.3.1 PPC (1997) Using Plug-In while running 1.6.1 (1997) Hiding HTML and page breaks (1997) Requiring that certain fields be completed (1997) Possible Bug in 2.0b15.acgi (1997) Bug Report, maybe (1997) test (2002) Next (1997)