Drop-down box and a dynamic presence

I hope this makes sense.

I have a drop down box with multiple values inside. Based on the user's selection, subforms and the different areas will be visible or hidden. To do this, I built a switch statement on the output of the dropdown event. The statement works fine until I have start to introduce dynamic properties to one of the subforms.

Two of a repeating subform fields should be hidden or has visible again according to the choice in the drop-down list. However, once you have added multiple instances of the subform, it only mask/displays the FIRST field in the subform. I need to hide/display-ALL fields when the subform is repeated.

To do this in the first selection, I created a statement through all instances and all these fields to be hidden or visible value as required. However, it does not work. Not at all. Even in the first instance as before.

I hope I'm making sense. Here is the code that I use for my statement:

var indNum = xfa.resolveNodes("RequestDetails.RepeatingSection[*].serialNum");
for (var i=0; i < indNum.length; i++) {
    xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).serialNum.presence = "visible";
    xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).requestedNum.presence = "hidden";
}

Then, I realized most myself. Even if EVERY bit of documentation I see says reference fields like this:

xfa.resolveNode("OuterSubform.InnerRepeatingSubform[i]");

I found that he doesn't know what to do with the media, so I have:

.InnerRepeatingSubform["+i+"]");

So my final code ended up looking like this:

var indNum = xfa.form.form1.Page1.RequestDetails.RepeatingSection.instanceManager.count;
for (var i=0; i < indNum; i++) {
    xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").serialNum.presence = "hidden";
    xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").requestedNum.presence = "hidden";
}

I still have a problem, however. If I already added the subforms and then select the option drop-down list, it works great! However, if I select a menu item drop-down, THEN add lines, added lines have visible fields I would like to stay hidden. Is it possible that I can call the case statement when clicking on a button? Or I have to put in another switch or if the declaration on the buttons? I think it would be easier if I could just remember the swtich on the drop statement. Unfortuantely, I don't know how to do this.

Tags: Adobe LiveCycle

Similar Questions

  • How can I send a document by e-mail in PDF with editable fields, drop-down boxes and check boxes?

    Our company uses Adobe Reader as well as the version where send you it for signature, convert to word, excel etc.

    What we are trying to do, however, is create the PDF document, save it to our readers of local network for use in a format PDF with editable fields, drop-down boxes to select and check boxes.

    Can you help me please?

    See you soon

    Lucinda

    Hi lucindab50782713,

    Yes, you can save the document as a model using eSign service create a library template | services eSign so that it can be reused.

    Kind regards
    Nicos

  • Script to check boxes, drop-down boxes and form fields

    I rarely need to use javascript, which is a good thing because I can't get my head round, but you lovely people here helped me before so I hope you could help again please.

    The image below is what I am working with... The drop-down list for a maximum annual Volume contains 3 points (250,000, 1 000 000 and 2 000 000). After the volume has been chosen, one or more packs will be selected by checking the boxes. Once they have been checked I need the relevant Qtly Sub tax and fees Onetime appear

    If someone could help with a script, I would be very grateful. I use Acrobat Pro DC

    Thanks in advance

    Jackie

    As the custom calculation of "Pk1QtySubFee" script If this is the case and it still does not, could you share the file with us?

    You can download for somewhere like Dropbox or Google Drive and post the link here, or you could even send it to me to try6767 at gmail.

  • How autoSuggestBehavior drop-down box and text style

    V11.1.2.4.0 Jdev
    In an af:inputComboboxListOfValues I'm style by using the skin editor af: autoSuggestBehavior fall to the bottom of the box and the text. (Surrounded by a red circle on this photo)

    [http://diligent-us.com/Styles/styledropdown.png]

    I can't find what trait in css, help please!

    Thank you
    sasilverbullet

    Check the skin selectors http://docs.oracle.com/cd/E37975_01/apirefs.111240/e17497/toc.htm#Text
    . AFAutoSuggestItemsContainer. AFAutoSuggestItem. AFAutoSuggestMoreLink and. AFAutoSuggestBusyStyle

    Timo

  • Problems w / text highlighting (last character never shows it to appear highlighted), using the drop down boxes and my browser hangs for a few days.

    I clear my cache and cookies on a regular basis (1 to 3 times a day), I have reset firefox and I have uninstalled and reinstalled.

    It is the only browser on my computer with that I will have a problem.

    It is difficult to live in Mode safe because you can not use any extensions. Let's start with hardware acceleration. Firefox is sometimes incompatible with your graphics card driver. To work around this, you can try to disable hardware acceleration, then launch Firefox normally.

    "3-bar" menu button (or tools) > Options > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    It will take effect after you exit and restart Firefox.

    Any improvement? If there is no difference, it could be an extension or a customization (for example, in a file userContent.css), or...

  • In Thunderbird/Tools/Options/Composition/spelling, language drop-down-box is not available, and the language line is empty.

    The drop-down-box languages chose is display of pale color that this option is not available. Clicking on it does nothing. In addition, no language appears in the language line. Not being able to use the drop-down-box fact by following the instructions for the installation of a dictionary that is impossible.

    I installed the dictionaries in Firefox, but they do not appear in Thunderbird.

    Here, I am very confused.

    You say "I installed the dictionary in Firefox, but they do not appear in Thunderbird. They should not... they are two different applications. Your last response still puzzles me.

    "I downloaded the dictionaries, but they do not appear in"Download more dictionaries"that takes a link you to a web page list of dictionaries available for Thunderbird." So I simply do not understand what your expect to see, maybe something you have downloaded in a browser window? I really don't understand.

    Some dictionaries come in the form of modules https://addons.mozilla.org/en-US/thunderbird/search/?q=dictionary & appver = 31.0 & platform = windows and must be installed as such.

  • Drop-down boxes as those used for the dates do not work and try to work for a while. What is going on?

    Drop-down boxes have not worked for the last few revisions of
    Firefox. I tried to eliminate all add ons etc. little nothing is done. For this
    not appear as it should be a big problem to solve, since these
    objects used to work properly in the past. I love otherwise Firefox
    and do not want to use a different browser. The drop-down list below does not either, but maybe it's the lack of content.

    Yes, I disabled everything. Even changed themes of Windows 7, but not luck.

    After sending this reply, it dawned on me that actual window guard can be
    the problem. When I excluded the window Firefox actual window guard
    control the drop-down boxes worked. Wish I thought of it earlier. Thanks to all those who have made suggestions and tried to help him. I really appreciate your time and efforts.

  • Drop-down boxes are unstable and lose text transparent tour since the last update

    Since the last update, menu drop-down boxes in Firefox have been unstable. Appear it briefly and then go transparent. Move the cursor on the transparent area will restore the text for a moment, but then it goes transparent again.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    Safe mode disables extensions in Firefox 4 and later versions, and disables hardware acceleration.

    Try turning off hardware acceleration.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    If disable hardware acceleration works then check if there is an update available for your graphics display driver.

  • SendTo: sendto drop-down box will be only sendto (e) player and not others

    in sendto drop-down box will only sendto drive (e) and any other

    Here's how to customize the send options in the context menu: http://www.howtogeek.com/howto/windows-vista/customize-the-windows-vista-send-to-menu/.

    Here is another option which is to download some freeware that makes the process of change the menu send to much easier:http://www.online-tech-tips.com/free-software-downloads/customize-the-right-click-context-menu-in-windows-xp-and-vista/.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I disable the "hand-with-a-pen-icon" in the seizure, drop-down menus and check boxes boxes in IE 10?

    How can I turn off the hand-with-a-pen-icon that appear in the entries of the form (for example, text boxes, drop-down menus and check boxes) in IE 10? I'm running updated Windows 7, 64-bit desktop with without a touchscreen. I have the Wacom tablet with a pen, but I disabled the handwriting feature in Windows.

    And also how to disable query points that appear in the scroll bars in the browser? Sometimes the mark points will blink, then this hand-with-a-pen-icon appears between. It does not appear in other browsers or programs and its was not in IE 9.

    -It is very annoying, especially when dealing with checkboxes and drop-down menus, I know never it is checked or not. --

    I have not found all the settings for this in IE 10 settings or control panel.

    Same problem here.
    I have w7 x 64 office services and tablet and writing are disabled.
    However, I see the shit 'hand with a pencil icon' in all the check boxes and drop down menus.
    It is not even recognizable on small boxes and is a total bore.
    I run my desktop PC with w7 x 64 for over a year and the symbol appeared after I've upgraded to IE10.
    I couldn't find an appropriate solution in the links provided in this thread, and I hope that it will be a good solution soon.
    To give an idea, I downloaded 2 screenshots on my skydrive
    https://SkyDrive.live.com/?CID=1C240C8A7B1412A2&ID=1C240C8A7B1412A2! 110 #cid = 1C240C8A7B1412A2 & id = 1C240C8A7B1412A2. 110

    Meanwhile, I think that I found the real cause.
    I had turned off the segue UI fonts during the day even when I updated to IE10.
    Strange as appears only in IE10 I assumed it it was due to the update.
    As explained in this thread that it is obviously a police problem well.
    http://answers.Microsoft.com/en-us/IE/Forum/IE10-Windows_7/IE10-shows-square-blocks-on-every-dropdown-menu/068079a1-47AB-496a-8358-4391b564aaee
    I still have not solved not satisfactory, but at least I now know the cause.

    IT FIXED:
    to do my reading sharper, I had turned off cleartype according to http://www.davidjnice.com/articles/windows7_fonts.html
    I'm now setting replace to

    "Segoe UI Symbol (TrueType)"="seguisym.ttf" and voila, the handwriting symbol in IE10 is gone again.
    
  • CRASH REPORT product: Adobe Photoshop CC Application running on: Apple iMac 3.5 GHz / Mavericks 10.9.2 Application crashes without warning. .  Symptom: Drop-down boxes go blank white (I did screenshots of drop white drop-down) and application

    ACCIDENT REPORT

    Product: Adobe Photoshop CC

    The application that is running:

    Apple iMac 3.5 GHz end 2013 / Mavericks 10.9.2

    Application crashes without warning.  Symptom: Drop-down boxes go blank white (I did screenshots of drop white drop-down) and the application stops working, actions for appox. 10 minutes before the accident are lost. Force Quit to exit the application unresponsive / frozen, then restart Adobe Photoshop cc

    Accident frequency: three times in this day's work, 5.6.14 once a day sporadically (about 10 times) in the past two weeks.

    Other applications running at the time of the accident: Adobe Bridge - NOT done.  Computer was online with any open browsers.

    The computer case continues to operate normally.

    I used Adobe Photoshop CC for about two months.

    First of all, go download and install the WhiteWindowsWorkaround plugin to work around the bugs not fixed in MacOS 10.9 OS.   Menus, shortcuts, Lasso tool, or Photoshop constantly run when using a Wacom tablet. Mac OS

    Then, you should probably disable OpenCL in Photoshop GPU preferences until Apple fixes the drivers.

    And a crash without a real incident report report (a word long and detailed document available in the crash report dialog box), isn't all that useful.

  • drop-down boxes gel hp probook 4730 s

    Internet drop down boxes gel my hp probook 4730 s.  I could not use the box on this site either, so I'm stuck with the Council 'display & video' unless the moderator move this question.

    Frost occurs using google chrome & ie11 times.  I am running Windows 7 and MS Office2010 with Kapersky Anti Virus 2014.  Repair of Office 2010 doesn't fix or the other.

    I run exam sheets of complex Excel with macros worksheet & formulas (the VBA Userform combo boxes work in I have run programs).

    This problem has now been fixed in MS Community by disabling hardware acceleration as follows:

    Open internet explore > tools > advanced > use software instead of GPU rendering rendering > close & restart internet explore

    Thanks for your interest.

    Concerning

    Terry

  • drop-down boxes will not open

    I use an ASUS laptop with windows 8.  Problem, all started yesterday.  On any Web site I can get that uses drop-down boxes to enter information selections didn't remain open.  The selections of flash upward, but disappear quickly.  I tried to restart, but no luck.

    I downloaded windows 8.1 and it corrects the problem.  I suspect it's an 8.0 update that caused the problem.

  • "Select box" or "Drop Down Box" works only in one place at the same time

    It is a very strange and very bizarre to me. I find the scripts of several 'box select' rather simple save space on Web sites and useful to anyone your title area of navigation. However, with this particular site I worked on I found it difficult to understand why some of the select boxes don't work - especially the script created directly by the option "Select" Dreamweaver (i.e. Insert-> Form-> select).

    --> Here is a link to a video showing how to select boxes are and do not work as well as the scripts used and how they are made. < -.

    Basically, they went quite simple. Here is an example of the box to select Dreamweaver House after that I added all options, with description in italics:

    < select name = "Choose an anonymous" size = "2" id = "Choose an anonymous" title = 'Options' anonymous >

    < option value = "#" > choose an anonymous < / option >

    "< option value ="http://www. webdomainhere' >preference name here< option />.

    "< option value ="http://www. webdomain #2here/ ">preference name #2 here< option />"

    < / select >

    and that's what you should get:

    1.jpg

    I don't get that ^, but when I drop-down options and click on the preferred option, there is no anything :-/  However, on a previous scenario - he is the one on the top and on the bottom (not a style of script box Dreamwever) and he works. I'm just trying to understand why. It's here if you want to see it:

    < td rowspan = "2" > < div align = "center" >

    < select id = "foo" >

    < option value = "" selected > choose a conspiracy! " < / option >

    " < option value = ' http://www.webdomainhere ">name preferably here < /a > < / option >".

    "< option value ="http//www.webdomainhere2 ">name of preference here #2 < /a > < / option >"

    "< option value ="http://www.webdomainhere3 "> name of preference here #3 < /a > < / option>"

    < / select >

    < script >

    document.getElementById("foo").onchange = function() {}

    If {(this.selectedIndex!==0)}

    Window.Location.href = this.value;

    }

    };

    < /script >

    The above script is the one that works when he finds FIRST (see video). It's weird and very frustrating to not be able to understand why it does not work why it won't work everywhere where it has located as it should?

    You have some serious structural html errors which must be supported. Run the validator at http://validator.w3.org/nu for a list.

    The second drop-down list offers places to the identity card, you can not do this.

    You are also no javascript code by saying the browser to use the values in the selection of the menu drop down as places of window (a duplicate of lines 55-61 with an id corrected for the second list, for example).

  • Drop Down Box with lots of elements (more than 300)

    I don't know if it's possible, but is it possible to put a drop of water drop-down to go to a certain point when you start to type the item in the box?

    I have a drop down box that it will take more than 300 different items to choose from and the user is the wish for if you start typing a certain point, it scrolls automatically at this point if you don't scroll all the 300 different items.

    Is it still possible? I have Adobe Acrobat 8 Professional and Adobe LiveCycle Designer ES4 that I can use.

    Any help is appreciated

    Thank you

    When you enter a letter within a drop-down menu, it will jump to the first item that starts with that letter, but it only works for the first letter.

    So if you enter it once again it will jump to the second point, etc.

Maybe you are looking for

  • How to enable multi-user iPad support?

    The iPad seems to support multiple users (in educational mode), but I can't understand to add a second account.  Is it possible to implement the educational mode to access this feature? My wife and I use the iPad to a computer on the coffee table and

  • Need to run an application on an older operating system (10.6.8)

    The last BONE, one of my most often used applications can run on is OS 10.6.8.  Which makes more sense: partition the drive and put 10.6.8 on a partition and the latest OS on the other partition for my general uses. or put on a bootable hard drive la

  • iTunes download 12.4 does not

    Hello... I just discovered the new version 12.4 of iTunes, but I can not download. He used to work before... When I click on the [Download] button as usual, I'm get transferred to another "Thank you" page and... nothing else! I tried to restart the b

  • Satellite L350 - don't wake up from sleep mode

    Hello I have a new Satellite L350 with 4 GB of RAM on windows 7. whenever he goes to sleep (or put into hibernation) he does not automatically wakes.Is there a specific key or sets of traits required keys?I find myself pressing the power button which

  • Unregister a Windows version

    I recently updated my hard drive, and since I knew that I had to install an OS, I opted to upgrade to Win 7 Ultimate. My question, how to cancel the old version so that it can be installed and registered by another person?