Article View: adobe.golive.dynamic.content
Article #53Re: Formatting a user input date
From: Jeremy_M_Cox
Date: Thu, 01 Jul 2004 05:25
Date: Thu, 01 Jul 2004 05:25
26 lines
2182 bytes
2182 bytes
Ok Jerry and anybody else reading this, I did some research about my problem. I posted the following on Nate's MindPalette Forum but I know that there are a bunch of qualified people here that might be able to help me.
Ok I tried to modify the code from the dropdown to text-field does anybody know if this would work. Actually it doesn't work. It gets hung up in the mysql.actions6.php with the error:
//<ERROR Number="8" Description="Error: &Undefined index: _no_form_value& on line 1157 of /Library/Apache2/htdocs/teacher_education/teacher_education_folder/teacher_education/config/include/utils.runtime6.php."/>
//function setText() {
//textValue = document[1].minutes_edit.minutes_year.value + "-" + document[1].minutes_edit.minutes_month.value + "-" + document[1].minutes_edit.minutes_day.value;
//document[1].minutes_edit.meeting_date.value = textValue;
//}
This would actually be on 3 lines. In the popMenu tags I added
//onchange="setText()"
There are 3 popMenus (minutes_year, minutes_month, & minutes_day), one input textfield (meeting_date) and the form name is minutes_edit
The original script for 3 popmenus to one text field is
//function makedate()
//{
//document.form1.date.value = document.form1.day.options.value + "/" + document.form1.month.options.value + "/" + document.form1.year.options.value;
//
//}
I know this is a long post but I tried to be proactive and answer many questions before they were asked. Then again I could have just provided a bunch of dribble. Thanks in advance.
Technical Details
Message-ID:
<3bb4c65d.10@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<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!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.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.10@webx.la2eafNXanI> Date: Wed, 30 Jun 2004 22:25:05 -0700 References: <3bb4c65d.-1@webx.la2eafNXanI> Lines: 40 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit