- see footer for list info -<I downloaded a calendar application and now I am trying to make it work as I need it too :(
There is a line of code that sets the default enddatetime like this
<cfparam name="Request.EndDateTime" default="" />
Which Ok I understand what it does ok
Them there is this line of code
<td>
<cfinput type="text" name="EndDate" value="#lsDateFormat(Request.EndDateTime, "dd/mm/yyyy")#" maxlength="10" validate="eurodate" message="Paul - Please enter a valid event end date or leave the field blank." onError="SetFocus" />
<input type="button" value="View" onClick="ShowCal('EndDate')" />
<i>dd/mm/yyyy - or leave blank if one day event</i>
</td>
Again this makes sense. excpet in this form it doesn't work! All I have done is change the dateformat to lsdateformat and teh dd/mm/yyyy rather than mm/dd/yyyy.
I cant understand why changing this is. I get an error message saying "" is not a valid date which I would expect as it isn't. But why does it work as just dateformat (which is no good as the format is incoorect)
Agghhh!
Regards - Paul
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
-- CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -< - Forum provided by www.fusetalk.com -< - DHTML Menus provided by www.APYCOM.com -< - Lists hosted by www.Gradwell.com -< - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
