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:

how to check for no value while using [URL] to prevent cr (1999) expired beta (1997) PCS Customer submissions ? (1997) complete escaped ascii chart - importing and exporting files question (1998) Protect and Serve (1999) triggering an update of two frames (1998) Return records from another (1997) Time comparison question (1998) [PHP3] php vs WebCatalog (2000) Grep and Special Characters (2002) Only charge card when product shipped ? (1997) Zeroing out shipping costs (2000) Database not found in Include (2002) Setting up the server (1997) Requiring that certain fields be completed (1997) Setting a range in a search (1998) Enterprise Server (1998) Sort Order on a page search (1997) rn doesn't work on date fields (1998) & in Lookups (1997)