Update datetime field error

Update datetime field error

Hi Wizohoes,

I have a stateless form and a datetime field on it. The onclick script updates another datetime field in another form/view. For some reason, datetime values are not the same (totally different) on the other form. This is a new entry on the second form, not an edit from a 'fetched' datasource.

This error occurs only for datetime fields, date fields and text fields work fine. I had to resort to a workaround:

input.mydatetime.tostring()   to store and update it as a string in a string field in the other form.

please look into this. as I cannot do any sorting ( time functions) with the date stored as a string.


Thanks