Hi,
I have a template file for a modal, I load this template with jquery load() in stratup script of my page, in this template I have an input for a date.
When I was using phmaker2020 I wrote :
<div class="input-group date">
<label for="Date_Interv" class="col-form-label" style="display:block" >DATE INTERVENTION <i class="fas fa-asterisk" style="color:red;"></i></label>
<div class="col-sm-10">
<input id="Date_Interv" class="form-control" style="width:90%;" name="Date_Interv" type="text" value="" data-field="Date_Interv" required />
</div>
</div>
<script>
loadjs.ready(["datetimepicker"], function() {
ew.DATE_SEPARATOR = "-";
ew.createDateTimePicker("ficheve", "Date_Interv", {"ignoreReadonly":true,"useCurrent":false,"format":7});
});
</script>
It's ok, all work.
in phpmaker2023
I tried many things but nothing work, I read and tried everything written in the post "date picker in custom file", nothing work. and this it's the same for a custom file with a link to another file in "content" ex :
<?php include_once "recherche/chantier/dashboard/dashboard.php"; ?>
Someone can help me many thanks