Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Good Day,

I'm trying to create PDFs from a simple data input mask. For simplicity, I have a few fields pertaining to the originator of the report followed by three blocks of fields pertaining to separate aspects of the report. Each of these three 'blocks' of fields has one field that can either be 'applicable' or 'non applicable'.

What I'm trying to do is create a function to print/save a PDF that checks whether the 'block' is applicable or not and then omits or includes that block in the PDF.

Any help greatly appreciated!

best,

Mat

ps: I'm trying to not have to create 7 layouts with all possible block combinations. I do realize that that's a possibility.

Your setup isn't clear to me. It would be more clear if you provided the field names and how a user selects which is applicable.

Sounds like you need a calc field that only shows the text from the applicable field (however that is determined). Put that calc field on the layout that you'll use in the Save as PDF script step.

  • Author

aah b, to the rescue once again, what would be do sans you .. B) thanks for your post

okay, simplest case:

the report has a name field

followed by a group of fields as follows:

radio button field

another group of fields:

radio button field

I want to print a PDF where, depending on the radio button selections the particular 'group of fields' prints or does not print.

I hope I'm clearer this time, thanks for your help again

Mat

  • Author

and by 'be do' I mean 'we do'

I hope I'm clearer this time

Not really. Does this report include multiple records? If so, do those "applicable" flags apply to each record (i.e. some may need this block, while others do not), or is it a global setting for the entire report?

Perhaps a practical example would be more useful than an abstract description.

I agree with Comment, it's still a bit murky. And your data structure seems to be a bit off. But that's just a hunch. How about posting a demo?

  • Author

my apologies .. here's a little file with a data input layout and a print/pdf layout .. what I'd like to see is the print/pdf layout to display (or not display) the little boxes with the three fields in it depending on whether the radio button has been set to applicable or non applicable

my setup may be completely off, I'm approaching this from an end result point of view because clearly I have no idea how to do it B)

thanks very much,

Mat

FM_sample.fp7.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.