Hi,
From what I can see, the problem is that the hidden input field generated by the calendar is not being updated when something is selected in the calendar of the "van" custom field.
From what I understand, this is because you override the "select" function of the datepicker for that van custom field with the code:
onSelect: function() {
var begin = $(this).datepicker('getDate');
var eind = $(this).datepicker('getDate');
eind.setDate(eind.getDate() + 7);
begin.setDate(begin.getDate() + 2);
$('#promotiebanner_tot_input').datepicker('option', 'minDate', begin);
$('#promotiebanner_tot_input').datepicker('option', 'maxDate', eind);
}
But you don't update the hidden input in that function. Apparently you'd have to do that yourself if you override that select function.
So, you'll want to also do something like that in there:
$('#promotiebanner_van').value = $(this).datepicker('getDate');
Now please understand that this is something way out of normal HikaShop user support. If you need help with custom javascript development, I would recommend to seek help on stackoverflow, like I do when I'm working on development projects and need help with code.