Relevant = ""-print "subforms collapses don't not on print mode"

Hope this is the right forum to post I am using Livecycle Designer 8.0 (and I couldn't find a specific forum for this).

I have a form where I want to hide and the collapse of irrelevant subforms especially when printing.  These subforms must always appear when you view the form on screen (so they can be used for data entry), but I would like that these subforms to disappear when printing if a criterion is not satisfied.

Currently I have a calculated field "sum" in each subform.  If the amount calculated is > 0, so I want the subform to print.  If the 'sum' is equal to zero, the subform should not print.  That's what I get:

Untitled-1.png

You can see the hole gaping in the middle of the page - it is there where there was a subform with a sum of zero (and therefore excluded from the print).  However, the print view does not fail these areas.

Here are some details of what I have Setup, and what I've tried:

  • Subform & page (and all the internal parts) are set to flowed (not set); each subform has the possibility to add or remove instances, and it works very well (screen and print).
  • "" If the sum calculated (in the subform) is > 0 (that is, I want that he print), presence = 'visible' and relevant = "  This seems to produce the desired behavior (i.e. subform to show on screen and print).
  • If the amount calculated is 0 (i.e. want to collapse and hide the subform of the print), I have presence = 'visible' (to show on-screen) and relevant = ""-print "."  Hiding the subform printing (which is what I want), but the shape is not to collapse, leaving the gap you see in the image in the above example.

Any suggestions would be greatly appreciated!

Thank you

Hello

The script behaves as expected - he puts the 'visible' presence and related to '-print '. While the usual printed object, it is still on the form and takes place.

If you want to hide an object and space, you must assign to the property of presence 'Hidden '. Thus, for example in the prePrint event object using the following JavaScript code:

this.presence = "hidden";

and in the event of postPrint:

this.presence = "visible";

Make sure that the form is saved in a dynamic XML form and container objects must be set to a Flowed layout.

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Kodak ESPC310 + 0365 and Sony Vaio both on the same wireless network, Vaio says printer offline, so don't not printing - suggestions?

    Kodak ESPC310 + 0365 and Sony Vaio, printing problem

    Kodak ESPC310 + 0365 and Sony Vaio both on the same wireless network, Vaio says printer offline, so don't not printing - suggestions?

    Hello

    ·         What operating system do you use?

    ·         Remember to proceed with changes in hardware or software on the computer before the show?

    Follow these methods and check if that helps:

    Method 1:

    I suggest you run the fixit tool and check if it helps.

    Problems printing and printing errors

    http://support.Microsoft.com/mats/printing_problems/

    Method 2:

    Follow the steps in troubleshooting section and check if that helps.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    See also:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-printer-problems

     

    http://support.en.kodak.com/app/answers/detail/A_ID/19500/selected/true

     

    http://support.en.kodak.com/app/answers/detail/A_ID/1329/selected/true

  • my laptop is grateful to my printer, but the material stay in a landmark & don't not printing

    my laptop seems to be grateful for my printer but all documents are just out in a queue & don't not feel, probably something from simple but cant work it?

    Hi stevendunk,

    1. were you able to print before on your computer?

    Follow the link below:

    Printer in Windows problems

    http://Windows.Microsoft.com/en-GB/Windows/help/printer-problems-in-Windows

    (Note: it applies to any windows operating system)

    I hope this helps.

  • "Wait until done" does not stop even if data generation is already waiting.

    Hi all

    I have a code as well for production and data acquisition with rates of around 50 kHz samples. I've predetermined length of the data, so I use finite-sample-generation. I use also wait until done to make sure that my work is done correctly. When I measure simultaneously my data generated, I see that wait until done yet not all of my signal is already created. And also I get error of 200560 (timeout to wait until the done function)

    Please see the below data generation loop:

    Does anyone have an idea on what's not here? (Subvi is also attached)

    See you soon,.

    Palazzo

    Hello Madoum,

    Thanks for the reply, I went through these documents in the past so many times.

    BUT finally found the reason: "error is always the simplest. I have 4 loops in parallel, it turns out that my stop command can't loop generation in time so that the state machine is running once again generating data.

    Thanks for the replies so far.

    Palazzo

  • Printer OfficeJet 4500 is not the powersave mode

    I just got a printer wireless HP OfficeJet 4500 (CN547A). This printer seems to be all the time and won't in powersave mode. After discussions with tech support, my understanding is that if no print jobs are sent to the printer at the end of an hour, the printer is supposed to enter powersave mode. I do not understand why it remains online in the State of full power all the time. I first asked HP support about this and they had me unplug the printer and press on and press and hold the # and 3 while plugging him back in. That seemed to put the printer in mode powersave, but then as soon as I printed something, that he would stay in line other times, as in, it would still be online in a status of full power several hours after it printed something. The next technician I chatted with that suggested I have unplug the printer, then press and hold the # 6 button while plugging back in. That was exactly equals the previous reset method. Why the printer is not entering powersave mode?

    I have the same problem.

    Product name: HP Officejet 4500 G510n-z

    Model number: CN547A

    Firmware: MWM2FN0944AR

    I tried unplug him and plug in now # 3.  This just reset the values by default, so I need to hang it on the wireless connection.

    I did a scan and he returned to power in 20 minutes saving mode.  However, I printed a test page (google.com search), and it has been two hours and not yet in power save mode.

    AFAICT, there is no firmware available to upgrade the Officejet 4500.

  • OfficeJet HP 6830: officejet hp 6830 does not respont in mode 'sleep' via an ethernet connection

    HP officejet 6830 does not respont in mode 'sleep' via an ethernet connection.

    This isn't the case via a usb connection.

    What can I do?

    Hey @George5500,

    Welcome to the HP Forums!

    I understand your JO 6830 unresponsive when it is in standby when you are using the Ethernet connection, but it does not occur when connected via USB.

    We will perform a hard reset. To do this, leave the printer and unplug the power cable for 1 minute. While it is unplugged, press and hold the power button on the printer for 10-15 seconds to release built his power, then after the minute, plug the printer in. Also, even if you have used a surge protector/power bar this whole time and you feel this isn't the cause, please plug it in to a wall outlet so that we can eliminate the source of energy as the primary cause.   Questions when it is connected to an uninterruptible power supply/Strip/surge protector power

    * In this document, you will see, QUESTION: questions or problems may occur when a printer HP LaserJet series printer is connected to a UPS (UPS), a power strip or a surge protector that is not limited to the Laserjet printers.

    I can't wait to hear back on your part. If performing a hard reset, or move the printer to a socket solves the problem, please click Accept as Solution button below so that the community can see your problem is solved. If the problem persists, please don't forget to leave me and I'll do everything I can to help.

  • Cannot get 100 colorMFP LaserJet M175nw printer mode 'sleep'. the LCD stays on?

     

    I have a printer HP LaserJet M175nw colorMFP 100.  the printer is hard plugged into a local home network and is accessible through a static ip address, the family is using windows xp. I tried to get the printer mode 'sleep'. I went into the setup of the printer lcd menu and set the printer mode standby after 15 minutes. However, I don't think it's ever enter mode 'sleep'. a green light stays on and the lcd screen stays on also. is this a normal behavior?

     

    Thank you

    w

    webster22, is this printer connected on a wall or on a surge protector?

    If you have gone through the Setup Menu the Setup Menu under 'Energy settings' and the system chosen for the Sleep Delay option, then you have successfully configured the printer for its energy conservation mode.

    I find not specific, it is possible that the screen can stay in this mode, however most of the time the power off screen is a feature of mode 'sleep'. With the screen being on this subject is still possible it's save energy by stopping all other drains power.

    You can also check the firmware of the printer via the link below to make sure it is up-to-date.

    http://goo.GL/2v9ip

    I hope this helps!

  • Satellite A300-1HP is not in sleep mode after 30 minutes inactivity

    Satellite A300 1HP is not in sleep mode after 30 minutes inactivity.
    Windows settings are OK (I'm an experienced user).
    He goes to sleep, if I do it manually (by pressing the power button) - but not after inactivity,

    Any idea?

    Norbert.

    Hello, Norbert

    Maybe you should check the settings of Vista power again. I have too many A300 and everything works fine.
    I tested it with all three power plans. Have you done the same?

    Usually, I use the BALANCED power plan and enter mode standby 20 minutes correctly.

  • HP g60-125nr notebook pc will not stay in mode 'sleep'

    does anyone know why my laptop of hp g60-125nr will not remain in mode 'sleep' when I'm done using it. It lights itself after 30 minutes

    Hello

    Have you gone through the steps in the documents?
    If you need help on the specific steps it please let me know who and I will try to provide more help. If you try to make a step and it does not please let me know what it was.

  • F8 key will not open safe mode

    1. the F8 key does not (safe mode) when the computer is restarted.

    2. the Microsoft sound does not play at the start and stop of all other sounds functions work perfectly.

    SYSTEM

    o Windows XP (home edition)

    o IE 8

    o MS-DOS [version 5.1.2600]

    o Phoenix Award BIOS installed 4/2006 [last updated 11/29/04]

    o Custom built computer, 5 years

    o no backup is available for crtical/discrete programs or the operating system OEM

    That someone has suggestions for the system difficulty and that everything remains alive.

    I think you need to determine if the problem of access to the SafeMode because that the F8 key does not access safe mode menu or the computer does not start in safe mode.

    In the past with a Microsoft Wireless Multimedia keyboard, I met the situation where the function keys had to be activated by pressing the CAPS LOCK key. This was to be done whenever the computer is started. This is done using the F8 key safe mode access impractical because you must press the lock key when the system is unable to receive instructions from keyboard and always press the F8 key until the system has progressed beyond the point where the ability to access the security mode is still available.  You can't do it.

    http://jtsang.MVPs.org/flock.html

    The easiest way to access the safe mode becomes to connect using a wired keyboard ps2 if you cannot access the mode without failure of the normal mode. To access the normal mode by selecting Start, run, type msconfig and press ENTER. Choose the Startup tab and let secure boot. Click apply and then click OK and restart the computer. To return to a normal startup, you uncheck the safe boot option.

  • MS-DOS 16-bit subsystem. The system does not support the mode full-screen.

    I when even run some dos applications, which allows to work ok under XP mode full-screen, but when you use Vista or Windows 7. I can only rum these applications in a window.
    The error message is

    MS-DOS 16-bit subsystem. The system does not support the mode full-screen.

    Please is anyway I could run in fullscreen... I don't want to use a virtual machine.

    Any advice would be greatly appreciated

    Of Ernest24

    http://www.dosbox.com/

    You might be interested in reading about DosBox.

    See you soon. Mick Murphy - Microsoft partner

  • HP Photosmart Premium 310a only works in E-Print mode.

    HP Photosmart Premium 310 has.

    Windows Pro 8.1 with the latest upgrade.

    Worked correctly until about 2 weeks ago.

    Will only work in E-Print mode. Does not work in USB mode or wireless.

    When you try to print in wireless mode I only get the message "No printer found."

    When you try to print in USB mode nothing happens.

    I uninstalled and reinstalled 6 times. When to reinstall it it will print a test page, but no word on another application, will work

    Re - install, I get the Trayapp.msi missing message when you try to reload the missing component from the installation disk it says that is not on the disc.

    Incidentally, I have a copy of assessment of windows 8 on my computer and when I boot to make the OS, the printer works fine in all modes.

    I've fiddled with it for more than two weeks and do absolutely no progress.

    Thank you

    Problem solved (very easily)

    %#&@Canned the printer and I bought an Epson!

  • Yahoo Messenger opens in safe mode and not in normal mode

    August 10, my flash has crashed when I was with google chrome, then all of a sudden, yahoo Messenger is wobbly. Then thought that yahoo needed to update Messenger, so I checked and of course, there was a newer version. I downloaded and that one point until yesterday if my computer went to sleep while I was connected to yahoo messenger or if I signed up I could not sign in and the purple area remains impossible to click anywhere or even move desktop. Could not only to return with a restart of the computer.  Now it doesn't open in safe mode and not in normal mode.

    I have been in contact with the support of Yahoo messenger and they gave me things to try as Messenger clear cache via the prompt commands, uninstall and reinstallation in Mode safe mode with networking, reset of IE9, check the connection, etc... Yesterday I did all these steps and this time I saw came error window "missing windows component, flash.ocx". I went to Flash via the Control Panel, and of course, my ActiveX went awol. Then I got using IE9.  Instant yahoo Messenger WORKS FINALLY! And I got the smiley face on the login window animation, BUT I can't use it in Mode without failure.  Login window won't be developed in Normal mode.  Is there something I have to toggle to open in Normal Mode?  I have this blue and yellow shield on it. I did the thing of Mr. fixit and there he had set for a few minutes, then she came back.  In the said detailed report something hidden icon got corrupted and something to rebuild the icon cache...
    -Using Windows 7 Home Premium 64-bit

    Hello

    1 are. what fixit you referring?

    2. do you get an error message when you run Yahoo messenger in normal mode?

    Method 1:

    Right click on the Yahoo messenger and select run as administrator.

    Method 2:

    Perform a clean boot and check if you are able to launch Yahoo messenger in normal mode.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Note: Once you are done with the boot, follow step 7 of article to reset your computer to normal startup.

    Method 3:

    To rebuild the icon cache, refer to this link.

    Forum FAQ:How to rebuild the icon cache

  • My page display mode live view, but not in design mode.

    In DW CC 2014 and 2015 CC DW, my page display mode live view, but not in design mode. When I switch to Design view, I see only the grid and nothing else. ????

    DW, especially the latest version, requires a clean code and valid for many functions to work correctly. Chances are, there are a few code errors in your HTML view Design of the data warehouse can not handle, but browsers and the Live View can.

    Run the validator at http://validator.w3.org/nu for a list of errors and correct all found your page.

    If you have a clean and valid code, but the problem persists, post a link to your current page, or all of the code and css here in the forum (don't use e-mail, it will not come through) so we can take a look at what's going on.

  • Drop-down page does not work in mode 'Fit a full page in the window.

    Drop-down page does not work in mode 'Fit a full page in the window.

    It's still doesn't work is not in V11.0.10 y at - it a new patch?

    Don't know exactly what you mean. Maybe it's you saw continuous activated, rather than the display of the page.

Maybe you are looking for

  • This feature erases any data on the mac?

    I use Mac mini end of 2012. OS X El Capitan I have a lot of data on it especially photos IPhotos and should ensure that I wouldn't lose all of the data with this method of recovery.

  • Upgraded my HP Pavilion dv7-6c23cl memory

    First of all, I want to upgrade my memory from HP laptop Pavilion dv7-6c23cl (currently with 6 GB memory) he came). She has Windows Pro 8.1 installed. Some users, retailers of memory, including some experts not HP, say: Maximum supported memory for H

  • What is xp Antivirus 2011?

    What is xp Antivirus 2011?  To return to the internet, I was forced to buy it and install it and don't know if it's my computer or jeopardize.

  • Photosmart D7360: Photosmart D7360 with the new watch black print cartridge black color will be simulated

    When you install a new black cartridge HP the message "black ink cartridge empty. To continue with othe caolors pick continue. Black color will be simulated. I cleaned the contacts, clean print head, run test page, reset the printer. Still not clear.

  • Live webcam updated Microsoft - 3039 error 65543

    Updated slow running PC and have upped its Norton with error message following and recommended to remove any other security software. Removed 'PC Doctor' but still get the error like before Live Update - 3039 65543 error I use Windows Live Mail - so