I have a couple of controls in a form with DateTime type. On the init of the form, I am trying to change one of the values to a specific value, however, it is not updating. String controls work fine.
datetime = datetime2str(element.formatDateTimeToday()); Registration_StartRegistrationDateTime.setUTCString(datetime);
I have also tried using this, but it did not work either,
Registration_StartRegistrationDateTime.dateTimeValue(*UTCDATETIME*);
Any ideas what I am doing wrong?
Additionally, I have another issue, when i select a control to edit (upon click), all the other controls are also updated with the same value.
Thanks,
Matthew
*This post is locked for comments