Message Boards Message Boards

0
|
852 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

PDF download at the end of a survey

Posted 1 year ago

I am building a survey and I want respondants to download a pdf document sitting on a local drive Here's the code:

MAarticle = 
 FormFunction[{"First name" -> "String", "Last name" -> "String", 
    "email" -> "EmailAddress", "Company Name" -> "String",
    "Sector" -> <|
      "Interpreter" -> {"", "Private Equity", "Industry", "Advisory", 
        "Others"}, "Input" -> ""|>},
   DatabinAdd[MAarticlebin, #] &, 
   AppearanceRules -> <|"Title" -> "Form"|>] // 
  CloudDeploy[#, "MAarticle", Permissions -> "Public"] &

what code to be added to

DatabinAdd[MAarticlebin, #] &

to allow download a pdf document
Thanks

POSTED BY: Achraf Tiouali
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract