cancel
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.

Regards,

Surya.

Accepted Solutions (1)

Accepted Solutions (1)

eddy_declercq
Active Contributor
0 Kudos

Hi,

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: http://www.softcomplex.com/products/tigra_calendar/

Eddy

PS.

Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.

Spread the wor(l)d!

Answers (3)

Answers (3)

alespad
Contributor
0 Kudos

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

[http://jqueryui.com/demos/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.