<div class="col-sm-4">
<div class="fw-bold p-2">{{{caption ACTIVITY_TIME_1}}}</div>
<div class="p-2">{{{value ACTIVITY_TIME_1}}}</div>
</div>
I am using custom template for add page and it works just fine, but i wish to set the ACTIVITY_TIME_1 to a specific date and time on load for add page.
I tried:
<div class="p-2"><?php date('d-F-Y 09:00:00'); ?></div>
I also tried setting in page render for add/copy page.
$this->ACTIVITY_TIME_1->CurrentValue = date('d-F-Y 09:00:00');
$this->ACTIVITY_TIME_1->ViewValue = date('d-F-Y 09:00:00');
None works