Click to See Complete Forum and Search --> : submit form , more then one place need to use calendar


HJC
03-02-2009, 12:17 AM
hi all,
If I have submit form , and have more then one plcae need to use calendar, what can I do

Fang
03-02-2009, 12:27 AM
Please explain further; what has the calender to do with the form submission?

miniCarl
03-02-2009, 05:16 PM
If you want more than one submit button, you can use regular buttons with a submit function instead, like this:

<input type="button" value="submit!" onClick="theNameOfMyForm.submit()">.

I dont even think they need to be in the form to work...

HJC
03-03-2009, 12:08 AM
:(I hav eone submit form , have a few place need to input Dtae, use calendar will get the stand input, how to handle the situation like this
thnak you

Fang
03-03-2009, 12:28 AM
Can you give a link?

miniCarl
03-03-2009, 12:42 AM
Here's the script for getting the date:

var d=new Date();
var monthname=new Array("Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec");
var MONTH = monthname[d.getMonth()];
var DATE = d.getDate();

var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();

Fang
03-03-2009, 01:02 AM
This doesn't show me what you are trying to do.