you have to use this script in the exit-event from the user input-date-field.
if(this.rawValue != null)
var sDate = util.scand("yyyy-mm-dd", this.rawValue);
//THE SEVEN IN THE END OF THE LINE YOU CAN CHANGE WHEN YOU WISH TO ADD MORE OR LESS DAYS
var NewsDate = Number(sDate) + (24*60*60*1000*7);
var nDate = util.printd("dd.mm.yyyy", new Date(NewsDate));
//DatumsUhrzeitfeld2 --> YOUR TARGET FIELD --> PLEASE CHANGE THE NAME IN YOURS
DatumsUhrzeitfeld2.rawValue = nDate;
I hope it's helpfull for you?
I do have one slight problem that hopefully you can help me with. I put the date fields on my Master Page with the thought that they would display on all pages, but the fields are only populating on the first page. I've looked at the properties on both fields to see if there was something to do with pagination, but don't see anything that's causing them to reset. Any ideas?
I'm happy that's work.
For the next question I think it's better to open a new discussion? Then another user can find the solution because the new discussion have another significant title.
I will answer soon.
1 person found this helpful
Okay. Thank you!
I have seen the new discussion