numero = 12278
interpreted = N
texte = >Anyone got any ideas on this ?? I'm still stumped...>>I'm trying to give my users the ability to search for events which start in>the next xxx days using pull-downs and a math context but I can't seem to>get it to work. My code is:>>>> days.>>Whereas int3 is the starting date, stored in the database as mm/dd/yyyy>format. I've never used pulldowns in combination with a math context so I'm>probably missing something obvious but I couldn't find any examples or help>in the docs.>>Thanks as always>-martyThis is not the way you want it but here is the code I used with radiobuttons. Notice the difference in the math. Change to minus to plus andmake the last one plus a bunch of days instead of 180 in my example. If Iremember right I struggled also to get the mm/dd/yy to work right whendoing the math date stuff. But I know the following gives me what I neededas far as results. This was written back during the beta days so maybesomebody at PSC fixed something since I wrote this and I didn't go back andchange it to use mm/dd/yy.
Click on the Button of how Far Back you would like to Search.
List InDash Part Numbers Added orUpdated in the last 60 days
List InDash Part Numbers Added orUpdated in the last 120 days
List InDash Part Numbers Added orUpdated in the last 180 daysHave not fooled around much with pull downs so I can't help you with thatpart of the html. But I might make a suggestion that you prove out yourwebDNA [math] maybe with radio buttons first and get the pages workingbefore you try the pull downs. That is unless the WebDNA Master Ken jumpsin :). Or he might be busy in a holy war started on the webstar talk listwith Nathan from purity (weg).===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Associated Messages, from the most recent to the oldest:
>Anyone got any ideas on this ?? I'm still stumped...>>I'm trying to give my users the ability to search for events which start in>the next xxx days using pull-downs and a math context but I can't seem to>get it to work. My code is:>>>> days.>>Whereas int3 is the starting date, stored in the database as mm/dd/yyyy>format. I've never used pulldowns in combination with a math context so I'm>probably missing something obvious but I couldn't find any examples or help>in the docs.>>Thanks as always>-martyThis is not the way you want it but here is the code I used with radiobuttons. Notice the difference in the math. Change to minus to plus andmake the last one plus a bunch of days instead of 180 in my example. If Iremember right I struggled also to get the mm/dd/yy to work right whendoing the math date stuff. But I know the following gives me what I neededas far as results. This was written back during the beta days so maybesomebody at PSC fixed something since I wrote this and I didn't go back andchange it to use mm/dd/yy.
Click on the Button of how Far Back you would like to Search.
[date]}-60[/math]>List InDash Part Numbers Added orUpdated in the last 60 days
[date]}-120[/math]> List InDash Part Numbers Added orUpdated in the last 120 days
[date]}-180[/math]>List InDash Part Numbers Added orUpdated in the last 180 daysHave not fooled around much with pull downs so I can't help you with thatpart of the html. But I might make a suggestion that you prove out yourwebDNA [math] maybe with radio buttons first and get the pages workingbefore you try the pull downs. That is unless the WebDNA Master Ken jumpsin :). Or he might be busy in a holy war started on the webstar Talk Listwith Nathan from purity (weg).===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
grichter@panavise.com (Gary Richter)
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...