Hello,
I would like to insert different download links into my thank you message depending on the choices in my checkbox group.
Is this possible, and what would be the easiest way for a PHP noob?
Thank you in advance,
Tiko.
Hi Tiko,
It's certainly possible and a PHP Switch statement is probably the simplest way to do it.
Bob
ok, I'll google PHP switch statement and if can't sort it out on my own I'll be back. Thank you for your patience.
Tiko.
ok, I looked around a bit. Should I put the switch statement directly into the thank you message code box? And as value I use the field name of the checkbocgroup? And as cases the values of the checkbox group?
Hi Tiko,
The Thank You Page action doesn't support PHP (not sure why). Please copy and paste the same code into a Custom Code action and then test again.
Bob
Thank you for your reply. Everything is ok now thanks to our good friend Sloan who saved me.
Finally it wouldn't have worked with a switch statement apparently, but you should ask Sloan for details.
Thank you anyway,
Tiko.