Expand my Community achievements bar.

SOLVED

How to add pop-up window to set date & time in one field

Avatar

Former Community Member

How to add pop-up window to set date & time in one field? I know how to add date. I create Date/Time field with JavaScript event on initialize like this:

this.rawValue = num2date(date(), DateFmt(4));

What i should change on script and pattern to do this properly.

I changed Data Format (in Object>Binding Tab) from Date to Date/Time but nothing happen. I would like to set up pop-up window like to setting date but with hour setting addition.

Is that possible? Or only date is setting like this? Should i put hour by hand?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

I don't think that you will get the time in the calendar popup. Basically the calendar popup is the default behaviour. It may be possible to develop a custom componenet, but it would take a fair bit of scripting and probably would not be worth the effort.

I would get the user to manually input time in a separate field.

Good luck,

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

I don't think that you will get the time in the calendar popup. Basically the calendar popup is the default behaviour. It may be possible to develop a custom componenet, but it would take a fair bit of scripting and probably would not be worth the effort.

I would get the user to manually input time in a separate field.

Good luck,

Niall

Avatar

Former Community Member

Thanks again. I thought like you but i want make sure

Thanks again.