Show date selected from calendar in web page with user unable to change text?

F

Fred

I have a web page where as part of entering an order, the user selects
a date from a popup calendar control. Any changes to that date should
also be made using the calendar.

I would like to show this date on the page once it has been selected.

I have been showing it in a text box. Coming from Visual Basic, I
would expect the textbox control to have an 'Enabled' property so that
I can turn off the user's ability to alter the date in the text box.
(Allowing them to do so has led to all kinds of invalid dates.)

I have searched Google and FrontPAge 2003 Help and there appears to be
no Enabled property. In Visual Basic, there is a label control for
this purpose which does not allow the user to change the text in the
label. (it can be set at design time or programatically). Apparently,
FrontPage does not have a label control.

So, how can I lock the user out of changing the text in the text box?

Another alternative would be to show the date in the page's text.
Currently, I have form text that says "Date required: " beside the
text box. Ideally, I would like to eliminate the textbox altogether
and update the form text to say "Date Required: 08/31/2007" after the
user has selected the due date.

Can I do that in Front Page?

Thank you.

Fred
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top