• 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: Generate a pdf with submissions

Generate a pdf with submissions 2 months 2 weeks ago #43837

  • c4ppy
  • c4ppy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Where to find a good tutorial how to generate a pdf out of RS forms? I have a list with questions that needs to be answered. All those questions with the answers need to be send as pdf by mail as attachment. No need to store the submissions in the database. The standard video from RS isn’t completely clear to me how to do that. The articles I found are not complete clear to me and does not work when repeating that steps.
The administrator has disabled public write access.

Generate a pdf with submissions 2 months 2 weeks ago #43838

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 245
  • Thank you received: 64
Much like I said in another answer use the {if {.....}} ..... {/if} tags in your pdf like this which means if field has no value do not show, if it has a value show label: value

{if {yourField:value}}{field:label: {yourField:value}{/if}

with some html to make the label bold

{if {yourField:value}}{<b>field:label:</b> {yourField:value}{/if}

if I had more than one field then like this in the pdf

<p>
{if {yourField:value}}{<b>field:label:</b> {yourField:value} <br>{/if}
{if {yourField:value}}{<b>field:label:</b> {yourField:value}<br>{/if}
{if {yourField:value}}{<b>field:label:</b> {yourField:value}{/if}
</p>

keeps the answers in a paragraph and having the break in the if statement keeps things on seperate lines
Hope that helps?
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
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!