• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Sending PDF submission in mail

Sending PDF submission in mail 13 years 2 months ago #12381

Hello,

Is there a way to send the submissionid inside an user e-mail, so i can redirect them to their own RSForm!Pro » Submissions

www.xxxx.com/index.php/nl/submission/vie...issionid}?format=pdf

Thanks,
Last Edit: 13 years 2 months ago by alexp.
The administrator has disabled public write access.

Re:Sending submission PDF in mail 13 years 2 months ago #12395

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

It can be done... but there is a little more to it then just this. First you will need to have a published RSform!Pro View submissions menu item with the "Enable Viewing Submissions ?" option enabled.

Inside the email body you will have to add something like this:
http://site.com/index.php?option=com_rsform&view=submissions&layout=view&cid=#$#&format=pdf&Itemid=XX

Note that instead of XX you will have to use the actual ItemId from the created RSform!Pro submissions view menu item.

Furthermore, you will have to use email scripting areas to generate the link dynamically. For example (user email area):
//grab the submission id
$svid = $db->insertid();
$db->setQuery("SELECT `SubmissionId` FROM #__rsform_submission_values WHERE `SubmissionValueId`='".$svid."' LIMIT 1");
$sid = $db->loadResult();
 
//replace the submission id
$userEmail['text'] = str_replace('#$#', $sid, $userEmail['text']);
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 12 years 8 months ago by alexp.
The administrator has disabled public write access.

Re:Sending PDF submission in mail 13 years 2 months ago #12426

Thanks,

I can use this unique ID on more places!
The administrator has disabled public write access.

Re:Sending PDF submission in mail 13 years 3 weeks ago #12922

Here's the documentation page on enabling view submissions:
www.rsjoomla.com/customer-support/docume...-view-menu-item.html
Last Edit: 13 years 3 weeks ago by markfrickel.
The administrator has disabled public write access.

Re:Sending submission PDF in mail 12 years 7 months ago #14553

  • fuzza
  • fuzza's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
To make users download the PDF must be registered in joomla? You can not send PDF attachment with the answers?

I am thinking of purchasing the RSFORms but only if it is possible to send the PDF with the answers.

Thanks!
The administrator has disabled public write access.

Re:Sending submission PDF in mail 9 years 5 months ago #28922

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
The generated PDF file can be attached to the User Email by checking the appropiate box (Form Properties - User Emails -> Attach to email)

You can create a URL to the generated PDF file using this placeholder: {user_pdf}. It can be used to create working links to the RSForm!Pro generated emails, "Thank you message", "Submissions View" - menu item (details view) and the "Submissions Directory" area (details view and emails).

Please keep in mind that the above placeholder will return a URL, in order to create a link you will need to use it in the <a></a> tags (e.g. below).
This is a link to the <a href="{user_pdf}">User PDF</a> document.

More information can be found here:
http://www.rsjoomla.com/support/documentation/view-article/747-rsform-pro-pdf-plugin.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.

Re:Sending submission PDF in mail 5 years 7 months ago #38427

  • rakeshy
  • rakeshy's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 90
  • Thank you received: 3
Please add this function to the Form Properties>RSevents Pro Emails>Activation Emails.

I believe the html link doesn't seem to work there.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!