Showing results for 
Search instead for 
Did you mean: 

Code for Date Picker

Former Member
0 Kudos

Hi all,

I have a icon related to calendar.when the mouse is over the icon it should open the calendar and when i click the particular date it should automatically enter into the input fields.

Thanks In Advance.



Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos


You can use the htmlb:dateNavigator tag for it. Check the tag browser, BSP extensions, Transportable, HTML. Drag the tag on the layout, click on the tag and press F1 for help.

Alternatively, you can use things like the Tigra calendar:



Put yourself on the SDN world map ( and earn 25 points.

Spread the wor(l)d!

Answers (3)

Answers (3)

0 Kudos

You could also using the javascript framework jquery with jquery ui , there's a widget called datepicker


Former Member
0 Kudos

You may use this HTMLB control for DATE picker.

<htmlb:inputField id = "DFCREATED"

type = "DATE"

showHelp = "TRUE"

design = "standard"

size = "10" />

Former Member
0 Kudos

<hrrcf:formLayoutDate id = "birthdate"

label = "<%= controller->birthdate_label %>"

required = "true"

invalid = "<%= controller->invalid_date %>"

value = "<%= controller->centraldataperson-birthdate %>" />

Try this using your own controller. I have used CENTRALDATAPERSON.