Hi!LS Team,
Im running a survey that give a voucher to first 2,000 people only but accept unlimited people to answer the survey.
Im wondering if LS have a javascript code that can get the Full responses in a survey. Ill be inserting this code in the completed page template
Heres a sudo code example:
function get_voucher_button{
var total_responses = {TOTAL_RESPONSES}; //i dont know the placeholder for Total Responses
if(total_responses > 2000){
alert("sorry you didnt qualify for this voucher")
}else{
alert("click here to download voucher");
}
}
Hope you can help me.
More power
Ali