Best answer by MichelleM
View originalIs there a way to set an embedded data field to the Survey Send Date?
I want to send a weekly survey to our student interns to enter their work time for the previous week. I originally set up an embedded data field, WeekStartDate as ${date://OtherDate/m%2Fd%2FY/-1 week}. However, if instead of filling out the survey on Monday when I send it, they fill it out on Tuesday, they get the previous Tuesday (and I want Monday). Does anyone know the variable for survey send date that I could use in the field -1 week? Thanks.
I finally figured out the answer to my own question with some javascript I added to the survey to calculate last week Monday. It is not pretty but it works. (I did have to add a page break in for the variable to display correctly in my survey, thanks to another post that I found that tip)
Thanks for the suggestion @Mishraji -- I do have an embedded data field set to the previous Monday but have to manually update it each time. Was hoping I could avoid that!
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.