The Action only uses the form element mode of CalendarView (the
JavaScript library). There is another way to use it where you accept a
click on (or any other event on) a DIV (html box) instead. The result
of this is that the DIV is updated with the current date. But this is
useless in a normal form, because DIVs don’t get sent to the server as
part of a form request.
If you are looking to make a “self-label”, where the label or coach
text for your form field appears within the field itself, then first,
I would recommend simply adding a normal label to the field. That way
you do the least harm.
But if you really want to have this effect, try setting the Value of
the field (in the third tab from the left in the Inspector) to ‘Click’
if you like. The script will overwrite that value when the user
chooses a date. Since ‘Click’ doesn’t resolve to a real date, I am
pretty sure (you should test this) that it will default to the current
date. There is also a chance that it will default to the Unix Epoch:
January 1, 1970.
If you set the Event to Focus, then the user can navigate to the field
using the Tab or Return keys, just like any other form field, along
with the click, since click also fires the focus event.
Walter
On Aug 5, 2011, at 10:11 AM, David Wise wrote:
Thanks Walter, Is there no way of changing the colour on the text
area, so that click can be written in it, When I downloaded the
calendar, it had a link to camera view, that showed an embedded and
a rollover calender, I would like to get the calender to pop up in
some way if possible, its for our car rental site www.drivevehiclehire.co.uk
, so we need to qualify the customer as much as possible and make
sure the information is correct.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options