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:

Changes to the List (1997) WebCAT has the devil in it! (2003) WebCat2 beta 11 - new prefs ... (1997) Banners (1997) WebCat with WebTen (1998) Search in 2 or more catalogs (1997) Multiply prices (1997) Authenticate (1997) WebCatalog2 Feature Feedback (1996) email code (1998) Emailer help....! (1997) Webcat causing crashes left and right! (1997) One more time (1997) access denied problem (1997) [OT] Site Check please (2006) WebCat2b15MacPlugin - [protect] (1997) [listfiles] nested in a [loop] (1998) Sort Order on a page search (1997) PCS Frames (1997) NetCloak as Emailer substitute? (1999)