I am trying to figure out a way to automatically populate a hidden variable in a survey based on the date the survey was taken. I know how to add the hidden variable for date and day of the week, but I would like for the survey to automatically populate a third hidden variable with a “Yes” or “No” response based on the date in an if “Date” then “Yes” else “No”.
This survey is used as an email capture form and is used to generate the email campaign for a longer questionnaire sent later in the week, and was looking for a streamlined way to get this information into the campaign data for question logic in the main survey. Currently, we are generating that variable manually in Excel, and just trying to take out steps.
I feel like this is a Java is the answer, but no one on my team has experience with it.
Any suggestions would be lovely,
Sometimes though, it is possible to get creative with the built-in features of SurveyGizmo. I am afraid I did not quite understand this portion of your question — if you do not mind clarifying this, I may be able to offer a better suggestion that does not require any scripting 🙂
I would like for the survey to automatically populate a third hidden variable with a “Yes” or “No” response based on the date in an if “Date” then “Yes” else “No”.