Check box to hide the subform does not

I have what I think it's a pretty simple dilemma. I have a check box that will be used to show/hide a subform when checked/unchecked.

However, any code that I have written seems to work. The box is an object in page1 and not wrapped in subforms. The subform has simply two inside text fields. the properties of the box have been defined for bind values are 1 for archiving, 0 for uncontrolled. The fields in the subform exploit the value "invisible" because I don't want to see these fields in the form (unless the box is checked).

My code is:

Form1. Page1.newspaper::click - (JavaScript, client)

If (this.rawValue == 0) {}

xfa.resolveNode ("form1..") Presence Page1.Newspaper_Subform") ="hidden ";

}

else {}

xfa.resolveNode ("form1..") Presence Page1.Newspaper_Subform") ="visible ";

}

This code is located in the under JavaScript click event. The form is saved in a dynamic XML form to Adobe. I use Adobe Pro XI and LC ss4

I can do this work in the generator of the action, but I want the subform back to hidden when unchecked.

Obviously, a beginner in Java script, ideas/help you might have would be appreciated.

What exactly is the problem?  Is this not not showing or hiding not when you change the box?  According to your description, you have two text boxes the invisible value but your script changes only the presence of the subform.  If you show the subform without changing the presence of text boxes, they will remain invisible.  If you want all show/hide together, set the presence visible text boxes and simply change the subform presence as you are now.

Tags: Adobe LiveCycle

Similar Questions

  • "Check box" form of the ADF does not work in JDev11.1.1.2

    11 GR 1 material:

    I've created an ADF form in a JSF Page and I deleted a column and move the same column again as a "selectBooleanCheckbox ADF.
    and in Boolean binding dialog box Edit: I entered the value as 'True' selected and deselected as 'false '.
    and when I run the data page not synchronized with chech box item.
    Note:-while the element box is working with Adf Table in example #145 to the link http://blogs.oracle.com/smuenchadf
    can someone help me?

    concerning

    Forakora

    Hello

    just tried and discovered that you define partial triggers for the af: selectBooleanCheckbox as:

                  
                  
                  
    

    Kind regards

    Branislav

  • Check box to hide the table row

    I have the table and the box.
    I need when is checked then unhidde of certain lines and when is not checked to be hidden?

    Thank you

    I did it in my form. What I did do the subform, and then place all the objects that I wanted to be hidden and then visible inside. I then used this code on the button:

    If (this.rawValue == '1') {}

    oTargetField = this.resolveNode ("subform name here");

    oTargetField.presence = "hidden".

    }

    If (this.rawValue == '0') {}

    oTargetField = this.resolveNode ("subform name here");

    oTargetField.presence = "visible".

  • Select and hide the toolbar does not not on Photoshop 15.5

    The new workspace Select and mask does not work for me on the new update. When I click on the Select button and mask, I be locked up or it gives a box indicating:

    "Could not apply Select the workspace and mask because the file is locked, you don't have the necessary access permissions or another program is using the file." Use the 'Properties' command in Windows Explorer to unlock the file. »

    Windows 10 Home, on a machine that has worked flawlessly with Photoshop 15.

    Any help?

    Thank you!

    Try to reset once the Photoshop preferences: How to remove/reset the Photoshop preferences

  • Hello, my daughter has closed a Trojan warning box and now the pc does not receive the windows software

    It stops at the black screen and the cursor in the upper left corner is what is a destructive hard drive format please because she'll lose everything on the pc, it has a hp pc and if there is a way to get off his stuff before the format, I would like to know please

    Hello

    Step 1: Disconnect any external devices (except keyboard and mouse) connected to the computer and check if you are able to boot.

    Step 2: Check if you are able to boot in safe mode. If you are able to boot into safe mode with success and then try to perform the clean boot to safe mode.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    a. click Startand then click run.

    b. type msconfigand click OK.

    The System Configuration Utility dialog box appears.

    c. click on the general tab, click Normal startup - load all services and device drivers and then click OK.

    d. When you are prompted, click on restart to restart the computer.

  • I mistakenly checked the box "don't show me this message again" on the Script does not have attention... How can I bring back?

    Hi and thanks for reading my question,

    I recently got a pop up box "warning: the Script does not" Firefox v38.0 and checked by mistake the box (paraphrase) "don't show me this message again."

    How can I report these warnings? I saw something in the tools-> Options area... have I missed?

    Thank you!

    You can check these prefs on the topic: config page and if either appears "BOLD" (user set) (bold) then right click in the pref and click Reset.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • Dynamic subform does not arise after the registration and the opening.

    After that I have to fill out the pdf, save it, and open, the dynamic subform does not appear. There are currently 2 subforms that are controlled by checkboxes and function in the following way:

    -If the box "no" is checked, the subform "SubmissionNo" should appear, the subform "Submission" should be hidden, and the 'Yes' box should be unchecked

    -If the 'Yes' box is checked, the subform "Submission" should appear, the subform 'SubmissionNo' should be hidden and check 'no' must be deselected

    The two boxes to check by default being disabled and record properly, but after I close the pdf file and then to open it, the appropriate subform that should be displayed is still hidden despite the 'yes' or 'No' checkbox being checked.

    I have the following script in the docReady of SubmissionNo:

    if (noCheckBox.rawValue = 0) {

    This.Presence = 'visible ';

    }

    else {}

    This.Presence = 'hidden ';

    }

    and I have the following script in the docReady of presentation:

    if (yesCheckBox.rawValue=0) {

    This.Presence = 'visible ';

    }

    else {}

    This.Presence = 'hidden ';

    }

    Two things:

    Your if statements are not correct - you need two equal signs to test a value not one. So, If (noCheckBox.rawValue = 0) should be If (noCheckBox.rawValue == 0)

    In file > properties of the form on the Defaults tab make sure that 'keep changes scripts... ". "is set automatically on.

  • When I click on my desktop shortcut icons in the new firefox 4 I get a dialog box that indicates that windows does not find that the website

    I have improved the previous version of firefox to the new firefox v.4 and now all the shortcut icons I used with the previous version display a pop-up dialog box that says that windows does not find this website, check the spelling - address - etc. But immediately after this window opens the Web site loads. I tried to load the original site, delete the old shortcut and drag the new shortcut to my desktop, but Firefox always gives me the same message.

    See:

  • I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.

    Original title: problem e mail

    I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.

    Suggestions;

    1. make sure that your e-mail program is your default program.

    2. make sure that your Internet Explorer, or your main browser has all its faults.

    You can do both of the above by following these steps...

    Start button > right column, click default programs > click Set Your Default programs...

    1. click on your e-mail program > it doesn't say "this program has all its defaults"?
    If not, click on choose by default for this program > check all boxes below the list > click on save when finished.

    2 do the same as above for your Internet Explorer, or your main browser.

  • How to check that the variable 'does not contain' value?

    Hello

    I use CP 7.0.1.237.

    We want to use the widget text box for a custom quiz and verify a response. While we understood how to check the existence of certain key words, we are not able to find a way to check that the content does NOT contain certain keywords. For example, we want to ensure that the text entered in this widget does not contain a "Transformation" and "Non-compliant.

    Is this possible at all?

    Thank you

    Anthony

    Anthony, it works perfectly. Created this conditional action with 4 decisions. I used the interaction of training text scrolling in CP8 (because now you can control the variable - which means I might have a Reset button):

    First decision:

    Second decision (the third is similar to the following)

    Fourth and final decision

    I put the variable words (v_first... v_fifth), it's a reflex I use since I shared actions that much. The variable associated to the ETB (you can now reset an empty var in CP8) is v_TextArea and the Boolean value that will decide if positive feedback (StarOK) should be shown is v_TA_OK. If you want to display a negative feedback, put this in the ELSE part of the final decision.

    FYI: it took 15 minutes, including the creation of assets and the variables and tests. Personally I would have needed more time to do it in JS, but that's just me.

    Lieve

  • Key on the keyboard does not work in firefox box when you type in the web site, but it works everywhere else?

    Key on the keyboard does not work in firefox box when you type in the web site, but it works everywhere else?

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    Can be caused by an add-on to the AVG.

    When find you what is causing that, please let us know. It might help others who have this problem.

  • After the upgrade to Firefox 6.0.2 first flash content was not displayed, but now the plugin does not load. Firefox plugin check says Flash is obsolete, but I just downloaded it from the Web site.

    After the upgrade to Firefox 6.0.2 first flash content was not displayed, but now the plugin does not load. Firefox plugin check says Flash is obsolete, but I just downloaded it from the Web site.
    Mac OS X 10.7.1
    Firefox 6.0.2
    Flash 10.3.183.7

    The current versions of Firefox are 64-bit on OS X, if you need a 64-bit version of Flash with Firefox 6.0.x or you must start Firefox as a 32-bit application to be able to use a 32-bit version of a plugin.

    1. Closing of Firefox
    2. Launch the Finder and open the Applications folder
    3. Make a right click or Ctrl-click the icon of Firefox.app
    4. Select "Get Info."
    5. Select or deselect the option "open in 32-bit mode".
    6. Close window "Firefox Info"
    7. Restart Firefox
  • Structure of the event does not not at the exit of a Btn dialog box

    Hi all

    I have here a simple VI. I want to blow a One button in the user dialog box. I want VI to wait until the user clicks on the OK"" button. When we click on the OK button the VI should pop another dialogue a button and stops when you press the Ok button. The VI does not stop. The value change event is not captured by the structure of the event. Can't really understand why.

    What OK button you are wanting to trigger structure of the event?

    1. as you have connected it the case of the event is related to the OK INDICATOR on the front panel.  You don't have an OK button on the front panel. The OK button in the dialog box is not easily accessible to the structure of the event.

    2. programmatically change an indicator does not raise an event to change the value.

    3. you can use a Value property node (signaling) to trigger the occurrence.

    4. There is almost always a better way to do what you want to use an indicator and a value (follow the signs).

    Lynn

  • I can't check the updates, because he said that "the service does not work."

    I can't check the updates, because he said that "the service does not work."

    Error: Windows Update cannot check the updates, because the Service is not running
    http://support.Microsoft.com/kb/2730071

  • Windows Update cannot currently check the update, because the service does not work, you may need to restart your computer

    My computer stops the update via WIndows Update Component

    Whenever a try to do the manual update using this component I get the message;   * Windows Update cannot currently check the update, because the service does not work, you may need to restart your computer *...

    My computer has a few updates, but can not run these update

    Whenever I try to run computer shotdown/updates remain frozen for a while and stops without updating

    He starts to run updates 1 of 13... and stops

    If I shutdown normal e, computer stay likehanging 1 hour without stopping.

    I would like to know how to solve this problem

    Thank you

    Concerning

    Gladmar.

    Hello

    Were there any changes made on the computer before the show?

    Perform the following methods and check:

    Method 1:

    I suggest you to check if you are able to access Windows Update service and ensure that the following services are started. If it is not started, follow these steps:

    a. click Start, type services.msc and press enter.
    b. search Windows Update.
    c. right-click on the service and select Properties.
    d. in type of startup, select enable.
    e. click Start under the Service status.
    f. click OK.
    g. Repeat steps c to f for the following services:

    Background Intelligent Transfer Service
    Cryptographic services

    If the steps do not help to solve the problem, you can go ahead with the methods mentioned below and check.

    Method 2:

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    Method 3:

    Your anti-virus software is in conflict with Windows updates. You can test this by temporarily disabling your antivirus:

    Disable the antivirus software
    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 4:

    The problem with Microsoft Windows Update is not working

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

    See also:

    Troubleshoot problems with installing updates
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

    Updates: frequently asked questions


    http://Windows.Microsoft.com/en-us/Windows-Vista/updates-frequently-asked-questions

    I hope this helps.

Maybe you are looking for

  • Very slow Windows

    Recently archived Outlook 2007 and now very slow windows

  • How can I transfer my IPad3 images to my laptop

    Can't seem to transfer my images from my Ipad 3 to my laptop.  I was told on the camera wizard, but not sure.  I have windows 7

  • Problem with the scroll bar doesn't work is not on the computer.

    I've recently updated to Windows 8, and now the scroll bar on the right side of my touchpad is not scrolling.  I have an Acer computer.  Can someone help me solve this problem?

  • Updates of repetitive?

    I use elements 13 for two years without problem, recently with Windows 10.   My computer was in need of an overhaul, and I had to restore the items.   Downloaded and it worked very well - except that whenever I open it, I am asked that there is an up

  • Slow running queries on a table partitioned by date

    I have a table partitioned by COLDATE, when I write a query to get the data is slow, even if I try to only get 1 day data. How can I correct this query runs faster?Oracle Version: 10gNumber of lines:See the below query select COL1, COL2 RANK() OVER (