Predictive Date - Web Service maybe? | XM Community
Skip to main content
Hi community geniuses!



I have made a "survey" that functions as a registration form. Depending on how they answer a question, they are registering for a meeting on either the second Tuesday of a month or the fourth Tuesday of a month. I'd love to a make an Outlook invite for the survey taker, but I'll need to know what the date of a given 2nd/4th Tuesday is based on the year and month.



Has anyone ever done anything like this? I feel like this might be doable with a Web Service call, but I am not sure.
Have you tried with the "Add Javascript" option? Maybe you could put a small script there that calculates on the spot the date of the 2nd or 4th Tuesday using some Javascript's date library.
You can do it with either a web service or JavaScript. Use moment.js to do JavaScript date calculations.

Leave a Reply