cancel
Showing results for 
Search instead for 
Did you mean: 

To add a method on select of a date from a date input field

Former Member
0 Kudos

Hi,

I have a input field which is binded to context element, type date. Hence the output screen has a date popup, from which user can select any dates.

Is it any way i can have a action executed on select of a date value?

I mean when the user selects a date from the date field an wction should be called.

As I have chosen it to be input field so at present I have only the option of OnEnter, which is not fulfilling the requirement.

Regards,

Pranay

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Got the solution

chander_kararia4
Contributor
0 Kudos

Hi Pranay,

Use the Date Navigator instead. It has got the same functionality as Date Picker (this is what you are using) & moreover, you can achieve what you desired. It has got the functions like onDaySelect, onWeekSelect & onMonthSelect & onSelect.

That will trigger the action what you want.

Regards

Chander Kararia

# Please close the thread once get the correct answer. Give rewards for answers.

Former Member
0 Kudos

Hi Chander,

The date navigator gives a list of calendar monts, which does not look good on the screen. That is the reason I had chosen a input field and binded it to a date field.

Regards,

Pranay

chander_kararia4
Contributor
0 Kudos

Hi Pranay,

There are the properties of Date Navigator "monthsperRow" & "monthsperColumn". Set them from 0 to any integer value. That will do as you want.

Regards

Chander Kararia

# Please close the thread once get the correct answer. Give rewards for answers.

Former Member
0 Kudos

Hi,

I dont think their is any actions prior to CE EHP1 for acheiving this requirement. In CE EHP1 you have onChange event for inputfield.

Regards

Ayyapparaj