cancel
Showing results for 
Search instead for 
Did you mean: 

how to disable date selector

Former Member
0 Kudos

Hi everyone,

i have an InputField bound wiht an attribute of type date, then i get a calender after the input field automatically. Our customer don't want to have this date selector, how can i make this date selector away.

Thanks for any suggestion.

Hairong

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I dont think you can disable this... Only option is to change the data type to String.

Regards

Ayyapparaj

Answers (1)

Answers (1)

0 Kudos

Hi,

You cant disable only the date selector.

One option is to make the input field or context variable as read only, so that, date cannot be selected. But user can't enter value in input field also.

Another possibility is to make the type of context variable associated with Input field as String, so that date selector wont come. While submitting, validate the input entered there.

Thanks,

Fahad Hamsa