cancel
Showing results for 
Search instead for 
Did you mean: 

F4 date/calendar help for an inputfield

Former Member
0 Kudos

Hi all,

I want to put an inputfield in my WD app and put a F4 help to it, so that whenever the F4 help is chosen, a calendar should pop up.

So I want the inputfield to store the date selected from this calendar?

How can I do this?

Thanks,

Satyajit.

Accepted Solutions (0)

Answers (2)

Answers (2)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Satyajit,

you just have to bind an InputField UI element to a context value attribute of type (com.sap.dictionary.)date. When focusing such an input field on the user interface you can automatically open the Data Picker.

Regards, Bertram

Former Member
0 Kudos

Thanks Bertram,

figured that out.

Satyajit.

Former Member
0 Kudos

Just to give you all a lead, I have already tried this:

1. in the context:

define a new value attribute.

2. changed it's type to Date.

3. bound input field to this value attribute.

But after I do this and run my application, I get the F4 button next to the inputfield, but both the inputfield and the button are disabled.