Date/Time Fields Read only

Avatar

Avatar

Paul_Triffitt

Avatar

Paul_Triffitt

Paul_Triffitt

30-04-2009

Hi,

I'm developing an XDP Form to be rendered as HTML, but I can't seem to make the Date/Time Field readOnly on the client. It can be made "protected" however, which disables user access to the field but this does not remove the date picker icon which appears when the date field gets focus, or disable access for the date picker which means whatever value you select from the date picker gets written into the "readonly" field.

Is there any way to dynamically disable the date/field (particularly the date picker icon) from appearing on the client?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

Paul_Triffitt

Avatar

Paul_Triffitt

Paul_Triffitt

04-05-2009

Thanks. That might be a workaround, to display a date value in a protected

text-field, but we are just trying to disable the control (date field)

itself.

The specific problem is that when we use a date control in the XDP rendered

as XHTML (ES8.2), if we make it protected the display area appears

(correctly) to be greyed-out but the date-picker is still active - and if a

date is selected it is populated through to the greyed-out display area and

the underling xml.

Is there any other way to disable the date picker part of the date field ?

Avatar

Avatar

leesutton

Avatar

leesutton

leesutton

04-05-2009

If you would like to simply display a protected date in a specific format, the sample on this thread may assist you:

http://forums.adobe.com/message/1923393#1923393