🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.golive.dynamic.content
Article #50

Re: Formatting a user input date

#50
From: Jeremy_M_Cox
Date: Tue, 29 Jun 2004 23:48
13 lines
1757 bytes
Because I am a php idiot I don't know exactly how to write code from scratch as Jerry does in an earilier posting in this string and I don't know where to put the hand coding that Len has offered up.

So can I ask a question? Is it possible to make the value of a form field hidden or otherwise something like

"echo "selected($form_name->Value("menu_year").selected($form_name->Value("menu_month").selected($form_name->Value("menu_day")"?

Basically echo the value selected in each of the dropmenus.

Additionally I would have a month field, day field, and a year field in the database to populate the drop menus for the purpose of updating. This seems like it would work in theory but I wouldn't know thats why I come to this forum for help.

NateBaldwin also offers a tutorial on MindPalette.com about using JavaScript to populate a text field with a value from one drop menu. Is it possible to join 3 menues in the same manner?

Lot of questions and maybe no answers. But help either way would be helpful.
Technical Details
Message-ID: <3bb4c65d.8@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb4c65d.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11ffd2,8502de635f9b659d
X-Google-Attributes: gid11ffd2,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jeremy_M_Cox@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.golive.dynamic.content
Subject: Re: Formatting a user input date
Message-ID: <3bb4c65d.8@webx.la2eafNXanI>
Date: Tue, 29 Jun 2004 16:48:22 -0700
References: <3bb4c65d.-1@webx.la2eafNXanI>
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit