How to make a subform not print if the fields are empty

I'm once again working on that kind of client form where our agents fill in a bunch of fields on our forms and I only want those fields that are pertinent to that client to print out and I've grouped the fields that go together into separate subforms.
There are date fields and currency fields that relayout to floating fields in hidden blocks of text that appear when the last text field is exited, ie:
Subform1  "On 5/14/12 your application was approved. We will pay $100 to your account"
Subform2  "On 5/14/12 we received your application. We will need further information before you claim for $250 can be approved" etc. Obviously, both of these subforms cannot appear on the letter.
Jono gave me a great solution for not printing checkboxes that are not checked with a preprint script which worked perfectly and I tried to adapt that to the subforms but alas my skills are lacking. I tried just putting it in each fill in field but then the blocks of text still remained.
So basically I don't want the subforms that have empty fields to print.
I'd appreciate any help that can be offered.

Hi,
I think that the logic/script should be placed in the area where the user either approves or rejects the claim. This would avoid a prePrint script to check if fields are empty or not.
If you are stuck with checking if fields are empty on prePrint, then you would just need to check the relevant fields one at a time or use a loop.
Hope that helps,
Niall

Similar Messages

  • I have tried all of the suggestions -passwords and logins are not saving. The lists are empty. Please help.

    I imported my profile from my other pc and my bookmarks are there but my pws and logins were not imported. I figured I would just reset up a master and start over but no matter what I do the logins and passwords do not show up in the list.

    What Firefox version is used on the other PC?
    Did you use an extension like FEBE or did you manually copy files?
    Firefox 32 and later builds store the passwords in the logins.json file in the profile folder and no longer use the signons.sqlite file that has been used before (the matching key3.db file is still needed).
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    The "Remember Password" extension has been reported to cause issues with the passwords disappearing, so if you have this extension then remove (uninstall) it.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When text is low on the page, it does not print on the page!

    Office Jet J6480, Windows 7 32 bit.
    Sometimes pages with a content line near the bottom of the page, does not print or the characters are only partially
    printed on the output page.

    Hello, you may be able to fix this problem on your HP Officejet J6480 All-in-One Printer by following the steps in the following document: "The Product Does Not Print the Bottom Page Border in Microsoft Office": 
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01671543&tmp_task=solveCategory&cc=us&dlc=en&la...
    There are two more links inside that web page with some other solutions if you are experiencing this problem with other Operative System:
    -Printed Text is Cut Off on the Last Line of the Page in Windows XP
    -Printed Text is Cut Off on the Last Line of the Page in Windows Vista
    I am an HP employee, Printer/All-in-One Expert.
    Give Kudos to say "thanks" by clicking on the "thumps Up icon"
    Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.

  • I have MacBook Pro (early 2011) with Mac OS X 10.6.8. How to make Cannon MF 5770 printing? I know that Canon have not provided drivers. Is it any way around it?

    I have MacBook Pro (early 2011) with Mac OS X 10.6.8. How to make Cannon MF 5770 printing? I know that Canon have not provided drivers. Is it any way around it?

    Updated printer drivers.
    http://support.apple.com/kb/DL899

  • How to make "Utility" button in Printer Setup Utility available

    There, i add a printer in the Printer Setup Utility and select it. i want to open printer utility, but the "Utility"
    button in Printer Setup Utility is dimmed. In addition,
    "Printer\Configure printer" in the Printer Setup Utility menu is also dimmed.
    How to make "Utility" button in Printer Setup Utility available?
    Thanks in advance.

    Hi Jiong,
    That button is to acess the printer utility for that particular printer, not all printers come with a utility. If you have the disk that came with your printer, you can see if it has a Macintosh driver, if it does then it mimght have the utility with it. It's pretty hard to run the utility on its own, its burried somewhere in the system so that's why you have that menu item. You can alternatively go on the internet and download the latest driver, which might have a utility. All the utility will do will give you options to check nozzle patterns, alighnement, ink tank levels, and cleaning options - just mimnor maintenence junk, non-essentials, etc. I think Tiger just comes with a whole heap of generic drivers for different printer lines, can't say for sure.
    I wouldn't worry about it, especially if you have a relatively old printer.
    Hope that helps
    DKR

  • How to make "payment terms" not modifiable in sales order

    Hello every 1,
    please help, i want to know:
    how to make "payment terms" not modifiable in a sales order , as we know it comes directly from CMR and client wants "PAYMENT TERMS" to be not modifiable.
    Look forward for your response.
    Thanks in Advance,
    Deepak

    You need to use SHD0 or userexit chnages, like always determine from customer master, if user changes, give message like not modifiable  or ask abaper to make non modifable field

  • How to make use of label printing in sap smartforms

    Hi Dear,
    How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will
    come as four labels.All page should follow the same procedure... How to do...please help me..
    Regards,
    Nikhil

    Hi,
    Please go through below link, would be helpfull for you.
    [http://help.sap.com/saphelp_nw04/helpdata/EN/6b/54b4b8cbfb11d2998c0000e83dd9fc/frameset.htm]

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • How to make dyn/admin not to prompt for username and password?

    Hello all
    How to make dyn/admin not to prompt for username and password? I am writing a selenium job to automate cache invalidation to load test a production issue we are facing. Selenium is opening a fresh firefox session and prompting for username and password every time. I am also trying to modify my script such that it will use the same session again and not prompt for username and password. But I thought of asking this question in the group.
    Your inputs will help a lot.
    Thanks,
    Sundar

    Hi,
    You can set enabled property of /atg/dynamo/servlet/adminpipeline/AuthenticationServlet/ to false. It will not prompt for authentication.
    Gopi

  • How to make iTunes Match not convert my files ALACs in 256 kbps (VBR)? How to get iTunes to convert CDs to Apple loselss?

    How to make iTunes Match not convert my files ALACs in 256 kbps (VBR)? How to get iTunes convert CDs in Apple loselss? The difference between 256 (VBR) and Apple Losless is very clear...

    Dear Michael, good day!
    1. As per your instruction, I turned off iTM.
    Small discrepancy – where are two screens with iTM switch:
    -Settings > iTunes & App Store. 
    -Settings > Music
    I switched OFF in both.
    NB: I turned device to English for convenience.
    2. My next step was Setting > General > Usage – tapped {Music};
    {All music} screen appeared; I swiped it and taped Delete. 
    3. I performed “hard reset” …………………………………..
    4. Switched back On iTM
    5. Taped Music app on Home screen
    iTM has started –  (it took 18 minutes  to completed, 60 mbps Wi-Fi speed )
    Regret to inform… All the same:
    Erase and reset to factory default? Or I did smf wrong?

  • How to make a JScrollPane not getting Focus?

    How to make a JScrollPane not getting Focus?
    When i tab out from a textfield inside a scroll pane focus is going to ScrollPane .And if i press tab once more then only focus is going to other textField which is outside the scrollpane.
    For me when i press tab from a text field inside a scrollPane ,i should go to textfield out side the scroll pane.
    satish

    Hi,
    I've the same problem, that I have to double click on tab
    to step from a textfield with a scrollpane to the next textfield in my panel.
    I tried to implement a FocusListener on my JScrollPane, but without success.
    Can you tell me in detail how to implement this listener ?
    Kind regards
    Andy Kanzlers

  • How to make address labels to print

    I'm trying to create labels to use on the back of photos.  I am using Avery 18160 style labels to print on.
    Thank you.

    charlotteontheroad wrote:
    (how to make address labels to print) I'm trying to create labels to use on the back of photos.  I am using Avery 18160 style labels to print on.
    Thank you.
    What are you trying ask exactly? Avery 18160 is listed as inkjet labels so obviously you need an inkjet printer.  Then you use whatever software you want that has label templates.  For example, Microsoft Word or iWorks Pages.  Those aren't the only way to make lables, but are the most common.

  • My new Officejet Pro 8500a on a Windows XP machine will not print from the Internet.

    I just purchased and installed an Officejet Pro 8500a all-in-one and everything seems to work fine except that the maachine will not print from the internet.  I use Windows XP home and and the Firefox browser.  The printer is connected directly to the computer, and is not directly connected to the Internet or any other network.

    The Officejet 8500 printers take individual ink cartridges (IIC); that machine requires that all cartridges be installed to ensure that the printhead does not get damaged. Ink is used in the printer not just for printing, but maintain the printer and the printhead. One can reduce the amount of color ink the printer uses by changing the printer settings to Grayscale or use black ink only. Page 34 of the user manual shows how one can change those settings when printing documents. For further information on how ink is used in the printer; one can look as this page here where it goes into detail on the different ways that ink is used in the printer.
    I would just replace the color cartridge that the printer indicates needs replacing when the machine alerts you to low ink. I would not replace all colors at once when only one is in need of replacing.  
    I hope that this helps.
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • How to setup a canon ip2600 printer without the cd?

    how to setup a canon ip2600 printer without the cd?
    Solved!
    Go to Solution.

    Hi Santana,
    The drivers for the PIXMA iP2600 can be downloaded from the Canon USA website.  The following link will take you to the initial download page for your PIXMA iP2600:
    PIXMA iP2600 Drivers and Software page
    Once on the initial download page for your model, please do the following:
    1.  Verify that the operating system detected in the "OPERATING SYSTEM" drop-down menu is correct, and if it is not, please click the drop-down menu to select your operating system.
    2.  Next, please click on the red arrow next to the "DRIVERS" section and click the printer driver file.  When you do, another page will appear giving details of the file you are about to download will appear.  
    3.  Please scroll down on the Details page and agree to the terms of the disclaimer message to continue with the download process by clicking on the "I AGREE - BEGIN DOWNLOAD" button.  After clicking the "I AGREE - BEGIN DOWNLOAD" button, follow the instructions to download and install the driver.  The time for the download process may vary depending on the speed of your Internet connection and the size of the file being downloaded. 
    Hope this helps!
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do i change the quality settings of my printer? the options are there but greyed out!

    how do i change the quality settings of my printer? the options are there but greyed out! ie on my old HP I could print in draft if i wanted to print a doc to read and then bin...the option/box is there but greyed out so I can't select. HELP!!!

    You can change the background display color in the playback preferences, either black, white, or checkerboard. This does not change the output color. If you want to add a color to the video, you have to place a custom generator underneath your video and change the color in the inspector.

Maybe you are looking for

  • How do I set new tabs to open up with my home page?

    When I open up a new tab the screen says "You have opened up a new Tab"....Informative but not particularly helpful... Can I set it so the new tab opens up on the google home page?

  • Why is the Black Swan no longer available in the US store?

    Why is the movie the Black Swan no longer available in the US store and does any know when it will again be available for purchase / rent?

  • After iTunes Update, Cannot Drag and Drop Music into iTunes

    Any suggestions? Windows 7 SP1, x64 iTunes... eh.. no idea what version.  I've looked for about a half hour and I couldn't find it.  Rather frustrating for a busy person like me to be dikin' around in iTunes looking for something simple like a versio

  • WLS to WLS 10 migration tool

    When upgrading WLS 8.1 application to WLS 10.x using the Weblogic Upgrade assistant. The code generates the following annotations in WLS 10 application @Transactional(true) @UseWLW81BindingTypes() @WLWRollbackOnCheckedException() Could someone shed s

  • Entry in CO1P when confirmed through BAPI

    Hi All, We have an interface where we are doing the confirmation of the production orders. We are using the BAPI  'BAPI_PRODORDCONF_CREATE_HDR' to confirm the production orders. And our configuration parameters have been maintained such that the auto