Background: I have two text boxes (K2TextBox) in a form, one for holding a start date and one for an ending date. I have associated their DataField properties with a K2Date-type Data Field defined in the process. Without adding any additional code, these fields now auto-fill with time instead of date. Looks like:
12:00:00 AM
Q. How can I just get date or suppress auto-fill behavior?
Page 1 / 1
Do you ONLY see the '12:00:00 AM' in the Textbox or does it give the date and time like - '11/07/2005 12:00:00 AM' ?
Regards,
Ockert
Regards,
Ockert
Sorry I took so long to respond but this is still an issue...
I get just the date in the textbox but the K2 DataField holding it captures date and time (e.g. '11/07/2005 12:00:00 AM' ).
Dan
I get just the date in the textbox but the K2 DataField holding it captures date and time (e.g. '11/07/2005 12:00:00 AM' ).
Dan
in fact, it seems that if you put an empty date as the default value of a K2 date data field, and then link a K2TextBox control to it, it will display 00:00:00 as the value in the control during form display.
It's not really esthetic to have "00:00:00" as a default value in a field... And I don't know if we can avoid it
It's not really esthetic to have "00:00:00" as a default value in a field... And I don't know if we can avoid it
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.