Cheers Marina,
all works from all pages, it works in browser as a visual,
but for some reason the code below which is the code used to set the date and time on Mobiscroll screen is not updating the variable on first click, works on second.
So in the browser the time and date are correct in the inputs,
but the previous selected time and date is the one send in the email, and so on,
sends the previous selected
codevar Date1 = Tiggr('Date1Val');
var selectedDate = Date1.scroller('getDate');
var m = (selectedDate.getMonth()+1 9) ? "" + (selectedDate.getMonth()+1) : "0" + (selectedDate.getMonth()+1),
d = (selectedDate.getDate() 9) ? "" + (selectedDate.getDate()) : "0" + (selectedDate.getDate()),
y = selectedDate.getFullYear();
var dateString = d + "/" + m + "/" + y;
localStorage.setItem('selectedDate', dateString);
var Time1 = Tiggr('Time1Val');
var selectedTime = Time1.scroller('getDate');
var h = (selectedTime.getHours() 9) ? "" + selectedTime.getHours() : "0" + selectedTime.getHours(),
m = (selectedTime.getMinutes() 9) ? "" + selectedTime.getMinutes() : "0" + selectedTime.getMinutes(),
s = (selectedTime.getSeconds() 9) ? "" + selectedTime.getSeconds() : "0" + selectedTime.getSeconds();
var timeString = h + ":" + m + ":" + s;
localStorage.setItem('selectedTime', timeString);code
Tiggzi.navigateTo('Book', {})
/code/code