Hi,
Unfortunately the default functionality does not support setting the time portion of the Date and time field, but you can set the date and time by adding this to your Custom JS in the PARENT form:
function vlookupAddChildPreCheck(fin){
sessionStorage.setItem("vLookupDateVariable",JSON.stringify(getFieldValue("Date").split(/ |:/)));
return true;
}
Change Date to match your date field internal name.
Then add this to the Custom JS of your CHILD form:
if(sessionStorage.getItem("vLookupDateVariable") !== null){
setFieldValue("Date",JSON.parse(sessionStorage.getItem("vLookupDateVariable")));
}
Change Date to match your date field internal name.
Alexander