Hi there,
we are looking for a Joomla Form component which provides the users with a random “coupon” code at the end of a feedback survey.
The idea is the following: we submit a link to the survey to our customers. A customer complete the survey and receive a coupon code. He comes back to our shop and shows us the code. We verify it (so all the generated codes should be saved somewhere) and provide him with a special discount on one of our products.
Can we achieve somthing like that with Chronoforms?
Thanks and have a nice day!
Nicolò
we are looking for a Joomla Form component which provides the users with a random “coupon” code at the end of a feedback survey.
The idea is the following: we submit a link to the survey to our customers. A customer complete the survey and receive a coupon code. He comes back to our shop and shows us the code. We verify it (so all the generated codes should be saved somewhere) and provide him with a special discount on one of our products.
Can we achieve somthing like that with Chronoforms?
Thanks and have a nice day!
Nicolò
Hi Nicolò,
Yes you can do that.
Use a Custom Code action to create a random string when the form submits; show the code on a Thank You page and save the result to a Database table to be checked later. I'd also add a status column and update that when the coupon is claimed to stop it being used again.
Bob
Yes you can do that.
Use a Custom Code action to create a random string when the form submits; show the code on a Thank You page and save the result to a Database table to be checked later. I'd also add a status column and update that when the coupon is claimed to stop it being used again.
Bob
Thanks Bob for your fast reply!
So from the Custom Code action to the status column, I can do everything with Chronoforms?
That would be awesome, as I'm not so good at coding 🙂
I'll try that in the next hours!
Nicolò
So from the Custom Code action to the status column, I can do everything with Chronoforms?
That would be awesome, as I'm not so good at coding 🙂
I'll try that in the next hours!
Nicolò
This topic is locked and no more replies can be posted.