I really need some help on this. I have a form that has 3 checkboxes for pdfs. you pick which you want, submit your response and then which ever you pick needs to come to you. I am having trouble making this work. If it were a drop list and you could only pick a single, that works with an event switcher. But with three then there will be permutations of selections. I would like to do it the simplest way possible, but it must be checkboxes.
then I can have it do a direct download, have links on a thankyou page redirect or have an email sent with the links. A direct download would be weird if the user selects more than one pdf. then the browser would open multiple windows I think and we lose control of the form. So the other two options are preferable but I cannot figure out how to make them work. Can you do a switcher that can receive an array of responses and redirect? how would I go about doing that? sorry I am a bit at sea here trying to conceptualize the best way to actually accomplish this.
TIA! (ask me questions if I wasnt clear enough!)
then I can have it do a direct download, have links on a thankyou page redirect or have an email sent with the links. A direct download would be weird if the user selects more than one pdf. then the browser would open multiple windows I think and we lose control of the form. So the other two options are preferable but I cannot figure out how to make them work. Can you do a switcher that can receive an array of responses and redirect? how would I go about doing that? sorry I am a bit at sea here trying to conceptualize the best way to actually accomplish this.
TIA! (ask me questions if I wasnt clear enough!)
Create an additional event called "download". Using a switch or switch event (whatever works best for you) display a link on your email or thankyou page pointing to {url:download}&code={var:code}
In that event, use a switch or switch event to decide on the filename or (if it's a PDF created on the fly) the content based on {data:code} and use the download action there
In that event, use a switch or switch event to decide on the filename or (if it's a PDF created on the fly) the content based on {data:code} and use the download action there
thank you healyhatman, if I use a download action then the form stops working for redirect or thank you responses... so that leaves the user in a weird spot doesnt it?
Yep but the way I said it, you just display the download links on your email or thankyou page. When clicked they will download the file.
Sorry confused. If I only want the links to display that they click on in the form then wouldnt i need to either call form info into the thankyou page or email which i cant do as they are no longer in chrono or serve up different pages based on the form entries (which so far I havent been able to successfully achieve on a checkmark field only a drop list)
Why wouldn't the form data be available in the email?
okay, sorry i am trying to understand this. I think what we want to do is put the links in the thank you message. this should solve all problems except the one where its not working...
This should be quite simple but somehow its not working.
I used a switch before the thank you message action. in that switch
name myswitch
data provider {data:downloads[]}
return as var ON
test values code for switch:
steering:[STEERINGtest]
maximize:[MAXtest]
change:[CHANGEtest]
then in the Message action I cannot call it...
{var:myswitch}
what am i doing incorrectly? thanks
This should be quite simple but somehow its not working.
I used a switch before the thank you message action. in that switch
name myswitch
data provider {data:downloads[]}
return as var ON
test values code for switch:
steering:[STEERINGtest]
maximize:[MAXtest]
change:[CHANGEtest]
then in the Message action I cannot call it...
{var:myswitch}
what am i doing incorrectly? thanks
i also tried turning off Var in the switch and doing {fn.myswitch}
that comes up blank as well
here is the debug for that:
that comes up blank as well
here is the debug for that:
[myswitch] => Array
(
[finished] => 1
[var] =>
)
OK like this.
Switch with data source {data:downloads} (no square barackets)
Return as var checked, handle arrays checked.
Then you can use {var:switchname} wherever you want to display the links.
Switch with data source {data:downloads} (no square barackets)
Return as var checked, handle arrays checked.
steering:<a href = "{url:download}&file=steering">Steering file link</a></br>
maximise:etcetc<br>
Then you can use {var:switchname} wherever you want to display the links.
This topic is locked and no more replies can be posted.