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:

WebDNA 5.1/Apache 2 (2003) Taxable Shipping (2003) Email within tmpl ? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Search results templates (1996) [WebDNA] OSX Lion (2012) [WebDNA] WebDNA Store (2017) include bug????? (1997) Help! WebCat2 bug (1997) [OT] Search Engine Tips (2003) Banners (1997) Cancel Subscription (1996) Inventory Adjustment (2000) Digital Postcards (1999) Date in IF ELSE Comparison (2004) Accentued characters in emails (2000) WebCat for Unix?? (1997) PCS Frames (1997) Error Lob.db records error message not name (1997) accountnum using [listwords] (2001)