Need Help scripting Multiple Dependencies to show hidden subform.

I'm trying to make it so two boxes have to be checked to show a hidden subform.  I thought the script would be something like this:
if (Check1.rawValue==1)
&& (Check2.rawValue==1){
Sub1.presence="visible";
else{
Sub1.presence="hidden";
It's not working at all though, so I'm obviously mistaken in my logic.
I'm using LiveCycle Designer ES 8.2.1.
Any help is greatly appreciated.  Kind of a stand still until I get this one figured out, otherwise I have to change how my document will be designed.  Thanks.
Mike

I don't have LiveCycle but you from a javascript standpoint yuo might not need all those parenthesis in your if statement. Try:
if ( Check1.rawValue == 1 && Check2.rawValue == 1 ) {
     Sub1.presence = "visible";
} else {
     Sub1.presence= "hidden";
That is assuming that the "Check1", "Check2" and "Sub1" variables are setup to properly reference your live cycle form elements. If those variables are right then my if statement above should work for you.
If this still doesn't work for you, you might try posting this in the LiveCycle forums: http://forums.adobe.com/community/livecycle

Similar Messages

  • Need help scripting a sliding volume scale.

    Hi, I hope this is in the right section, I am trying to make
    a flash flv player (sort of like youtube) for my site. I have it
    practically done but need a better volume adjustment. Currently, I
    have only been able to figure out how to make a sound on/off button
    but what I would really like is the volume control found on this
    player.
    http://www.jeroenwijering.com/?item=JW_Media_Player
    Could someone please help me with the script for it? I am
    really new to flash but I made the following 3 objects in the
    library. Solid black graphic in to a movie object, 1 solid black
    graphic in to a button, and one light grey graphic in to a button.
    I assume I need a script for each of those 3 objects. Thanks for
    the help!
    P.S. Using Adobe Flash CS3 Trial

    you need to submit it to another file which in turn will
    insert the information on the fold field using SQL. for example...
    INSERT INTO contact
    VALUES FORM.Firstname, FORM.LastName, FORM.Phone
    I don't know what programming code you are using (Coldfusion,
    PHP, ASP ..etc).
    Here's more information.
    http://www.w3schools.com/sql/sql_insert.asp

  • Powershell - Need help combining multiple commands (?) into one script

    Scenario:
    When a user is terminated from our company, I run these scripts separately:
    1. I use the script below in Windows Powershell ISE to launch an entry box so I can enter in the username@domain and get a list of distribution groups the termed employee currently manage export to a CSV file on my desktop:
    Add-PSSnapin quest.activeroles.admanagement
    $USerID = Read-host "Enter in Username@domain. Example: [email protected]"
    connect-QADService -service blah.dc1.cba.corp -UseGlobalCatalog
    get-qadgroup -ManagedBy $UserID -Verbose | select Name,Type,DN | export-csv -
    NoTypeInformation "$home\desktop\$UserID.csv" -Verbose -Force
    2. I launch Powershell as an Administrator and run the following to activate Exchange Management in Powershell and to give me access to the entire forest of accounts:
    Add-PSSnapin -name "Microsoft.Exchange.Management.PowerShell.E2010"
    Set-AdServerSettings -ViewEntireForest $true
    3. Next, I run this script to remove the former owner's write permissions from the list of distribution lists they managed in the above CSV file:
    import-csv -Path "<PATH>" | Foreach-Object {Remove-ADPermission -Identity $_.Name -
    User '<domain\username>' -AccessRights WriteProperty -Properties “Member” -
    Confirm:$false}
    4. I run this script to show the new owner of the DLs, allow DL management via Webmail and add info in the Notes section on the DLs:
    import-csv -Path "<PATH>" | Foreach-Object {set-Group -Identity $_.Name -ManagedBy
    "<domain\username>" –Notes “<Enter Here>”}
    5. I run this script to allow management via Outlook and to automatically check the box in Active Directory "Manager can update membership list" under the Managed By tab within the Group's Properties:
    import-csv -Path "<PATH>" | Foreach-Object {Add-ADPermission -Identity $_.Name -User
    ‘<domain\username’ -AccessRights WriteProperty -Properties “Member”}
    Is there a way I can combine this into one Powershell script or two, at the most instead of having to copy and paste 6 different times and use two programs (Powershell and Powershell ISE)? 

    Rhys, again, thanks to your script, I was able to add even more to it to run nicely in PowerShell ISE (running as an Administrator):
    The following happens in the script below in this order:
    1. The script allows searching across multiple e-mail domains that we manage in Exchange
    2. It prompts for entry of the old owner's ID, the new owner's ID and notes that I want to add to the DLs.
    3. It exports a copy of lists owned by the old owner to a CSV file on my desktop.
    4. Powershell pauses and allows me to modify the old owner's.CSV file so I can remove any lists that should not be transferred, save the changes to the CSV file and click continue in Powershell ISE. If all lists should be transferred to the new owner, I
    would simply not edit the CSV export and click OK in Powershell ISE.
    5. Powershell ISE updates the DLs from the CSV export using the information I entered in the entry boxes.
    6. Powershell sleeps for about 1 minute after updating the DLs to allow Active Directory to register the changes. Then, Powershell ISE exports a copy of the lists transferred to the new owner to a <newownerID>.csv file on my desktop. This allows me
    to compare the CSV files (which should have the same exact lists on them) and make sure all of the lists were successfully transferred.
    7. If the lists are not the same because Active Directory didn't update in time while the file csv export was running for the new owner, I can run the script again with the exception of using the newownerID for the entry boxes in Step 2 (Notes don't matter
    as we won't execute any additional steps after capturing the updated export). You would simply select Cancel during the pause window that comes after the export completes to prevent the script from continuing a second time and overwriting your previous entries.
    8. You can now compare the updated newowner.csv to the oldowner.csv file on your desktop. 
    Add-PSSnapin -name "Microsoft.Exchange.Management.PowerShell.E2010"
    Add-PSSnapin quest.activeroles.admanagement
    Set-AdServerSettings -ViewEntireForest $true
    connect-QADService -service xyz-fakeserver.corp -UseGlobalCatalog
    Do {
       $FormerOwner = Read-host "Enter in former DL owner as Username@domain."
       $UserID = Read-host "Enter in new DL owner as Username@domain."
       $Notes = Read-host "Enter in Notes for DL"
       Try {
          get-qadgroup -ManagedBy $FormerOwner -Verbose -ErrorAction Stop | select Name | export-csv -NoTypeInformation "$home\desktop\$FormerOwner.csv" -Verbose -Force
    Read-Host 'Edit <FormerOwner>.CSV file on desktop to remove groups that should stay with current owner, save changes and press Enter or click OK to continue script. If all groups need to be transferred to new owner, do not modify CSV file and press Enter
    or click OK to continue.' 
    import-csv -Path "$home\desktop\$FormerOwner.csv"
    $UserList = import-csv "$home\desktop\$FormerOwner.csv"
    $Userlist | Foreach-Object {
             Remove-ADPermission -Identity $_.Name -User $FormerOwner -AccessRights WriteProperty -Properties “Member” -Confirm:$false
             set-Group -Identity $_.Name -ManagedBy $UserID –Notes $Notes
             Add-ADPermission -Identity $_.Name -User $UserID -AccessRights WriteProperty -Properties “Member”
    Start-Sleep -s 60
    get-qadgroup -ManagedBy $UserID -Verbose -ErrorAction Stop | select Name | export-csv -NoTypeInformation "$home\desktop\$UserID.csv" -Verbose -Force
          $Flag = $True
       } Catch {
          Write-Host "Invalid username or user not found, please try again"
    } While (!$Flag)

  • Loemu PKGBUILD, need help with python dependencies [solved]

    I'm having a hard time determining the depends for this python application. It uses gtk and glade, but namcap is unable to determine dependencies for python apps, I think. It complains that I am including not needed depends. I found a requirements list here:
    http://linux.softpedia.com/get/Utilitie … 4855.shtml
    that might give some clues, but I'm still struggling to determine what's needed until I can get home and run the application.
    My PKGBUILD in case you're interested and think you can help. I'm sure I need glade for python in the depends line, but I can't find it in AUR or with pacman.
    # Contributor: robb_force <[email protected]>
    pkgname=loemu
    pkgver=0.1.1
    pkgrel=1
    pkgdesc="A simple frontend for various game emulators, including XMAME, SDLMAME and Snes9x."
    url="http://loemu.pegueroles.com/"
    license="GPL"
    arch=('i686')
    depends=('pygtk>=2.6' 'libglade')
    makedepends=('python>=2.4.0')
    source=(http://loemu.pegueroles.com/dists/${pkgname}-${pkgver}.tar.gz)
    md5sums=('d4cff1ef835ce19a9fd22cdaec47074a')
    build() {
    # Fix the paths in the scripts
    cd ${startdir}/src/${pkgname}-${pkgver}
    sed '/roms/d;/flyers/d;/snaps/d' -i setup.py
    sed 's|share/games|share|g' -i setup.py
    cd ${startdir}/src/${pkgname}-${pkgver}/${pkgname}
    sed 's|share/games|share|g' -i Preferences.py
    sed 's|share/games|share|g' -i Loemu.py
    sed 's|share/games|share|g' -i Config.py
    # Install the application
    cd ${startdir}/src/${pkgname}-${pkgver}
    python setup.py install --prefix=${startdir}/pkg/usr
    Last edited by robb_force (2007-05-18 19:22:02)

    Thanks for the response. I've added the working PKGBUILD to the AUR.
    http://aur.archlinux.org/packages.php?d … 1&ID=11093

  • NEED HELP PUTTING MULTIPLE PAGES TOGETHER IN 1 PDF

    HOW DO I PUT 10 PAGES TOGETHER TO OPEN IN 1 PDF?

    Thanks Janelle - I do not have that ability with the Epson RX580. Epson just answered my tech support question with this answer:
    I am sorry you are experiencing difficulties with your EPSON Stylus Photo RX580. Unfortunately this feature is not available with Mac OS X. You will need a third-party software that will help you with this, such as Poster Print for Mac or Tiler. Please note though that Epson does not support these applications.
    So I guess my question becomes what software can I use to print my images on multiple pages. As I do large photo transfers I need to be able to do this with my mac in an efficient way and not try to cut portions of image into seperate print jobs that would be too time consuming. HAve you had any experience with other software. If not I guess the next question  what printer would you recommend that would do this with my MAC. I have included a pic of one of my larger transfers on a cupboard. To do this I needed the image to be tiled on 8 different sheet of 8.5x11 so this is a feature I need through either software or a printer that is easy to use and easily accessible. Thanks Krista
    I am inl

  • Need help - script to continue text in another field if necessary

    Wish I could attach my form but it's not available. I am using Adobe Acrobat 9.0. I have a form with two text fields for "Other" information that needs to be shared. If the user types in more characters than the box holds the overflow text doesn't print. These are court documents and all the text has to print somehow. I am trying to figure out a work around for this and wondered if a script can be written to put the extra text from each "Other" field into another field that would open on a new page at the end of the document if necessary. I want to avoid having extra empty pages however so if they can be added ONLY if the text needs to overflow. I hope I explained this okay, like I said I wanted to upload the form but can't. If someone can help me with this I would really appreciate it.

    LiveCycle is a part of Acrobat Pro Extended - Windows users only, not Mac.
    OctRita wrote:
    … would it be possible to have a page at the end with a text field for each of the ones that need overflow to print and can a javascript be written to put the extra text into those fields?
    Yes, it is possible - I've already indirectly provided you with the code for that via the link in my post. Just remember to save it to your desktop:
    http://www.adirect.dk/adobeforum/commentfields.pdf
    As an alternative you could remove the limited characters, set the field to multiline and make a script that set the textsize to auto if the user fills the field with text. When textsize is set to auto, the text will keep on shrinking as user types more text.
    Torben.

  • Need Help Adding Music to Slide Show - PS Elements 11

    I am using PS Elements 11 to create a slide show. The photos and transitions are complete. But when I try to add music in an mp3 format, the songs are there but the text for the songs does not appear in the bar below the photos in the slide show review mode. All I can see is a fuzzy gray line. I need to see the text for the songs so I can trim and reorder the songs. I have tried to create a new slide show with new music but the music area is also fuzzy. Texts appeared one time but no longer. Please help! Need for Wed.!!!!

    Welcome to the forum.
    As Mylenium points out, this is not the Photoshop Elements Forum.
    I will Move your post to the PSElements Forum, where you will get the answers to your question.
    Good luck,
    Hunt

  • Need help scripting the Essentials Server Backup configuration in PowerShell

    I'm trying to write a PowerShell script that automates the setup and configuration of the Server Backup feature within WS2012 R2 Essentials. There are a number of cmdlets for defining the backup source files and target location such as add-wssbackuptarget,
    add-wssbackupvolume, new-wssbackuptarget, etc.
    These cmdlets all have a required -Disk parameter and I can't for the life of me figure out the syntax for it. I've tried the disk ID, drive letter, LUN, volume label, and disk number. All of the examples in the help files are using variables instead of
    explicitly entering a value; I've tried using the example scripts and those fail too.
    So here's a quick example:
    Get-WssBackupPolicy | Add-WssBackupVolume -Disk ??
    I obviously need more parameters than that but the point is, no matter what other parameters I type and no matter what I enter for the value of -Disk, I always get "Cannot bind parameter 'Disk'. Cannot convert the "D:\" (or whatever I've entered)
    value of "System.String" to type "Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupDisk".
    And like I said in the opening paragraph, I get that same error for any and all cmdlets that use the -Disk parameter. Does anyone know how to properly structure format the -Disk value?
    Thanks

    Don't worry I wasn't sure as well, I had to raise a SR to understand it too!
    I have a similar set up to yours and have webutil working successfully.
    What you need to do is to install and configure your application server on unix for webutil as well as windows.
    From your post I see you are already reading the docs. Within chapters 2 and 3 both of which are titled "configuring web util", you will see points that refer to the application server, these are the ones that you need to follow.
    Good luck

  • Need help:Scripting on windows and Sql Loader

    Hi
    I need some help regarding script work on windows machines i.e., how to write a script,the file extension,how to run the script etc,how to schedule it...
    I also need the doc regarding sql loader(complete details.....)
    Thanks in advance...
    bye

    The sqlldr utility is fully documented in the Oracle version# Utilities manual for your version of Oracle. You can find the documentation sets here on OTN for download or you can use the online versions at http://tahiti.oracle.com
    There is a product called Script Works and it is documented by the vendor. Otherwise the details depend on the scripting language/tool you use: DOS, Perl, etc....
    HTH -- Mark D Powell --

  • Need Help Intergrating a Flash slide show

    I'm fairly new with Dreamweaver and was doing fine with
    building my site until I got to learning how to "Integrate a Flash
    slide show". I purchased Adobes "Classroom in a Book" and it has
    been an extreme help but once I got to that chapter of the book it
    doesn't work when my site is published. I followed all the
    instructions in the book and it looks good and works fine within my
    site when I do a test but when I publish it to the web nothing
    comes up, it is just a blank spot where the Slideshow is suppose to
    be. This is how my code looks, please if anyone can help to see if
    I'm doing something wrong:
    code
    </script><noscript>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="500" height="200">
    <param name="flash_component" value="ImageViewer.swc"
    />
    <param name="movie" value="slideshow.swf" />
    <param name="quality" value="high" />
    <param name="FlashVars"
    value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showC ontrols:false,frameShow:false,slideDelay:4,captionSize:10,captionColor:#333333,titleSize:1 0,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['redguy.jpg','go ldgun.jpg','jawbone.jpg'],slideLoop:true,frameThickness:0,imageLinks:['
    http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'
    />
    <embed src="slideshow.swf" quality="high"
    flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',s howControls:false,frameShow:false,slideDelay:4,captionSize:10,captionColor:#333333,titleSi ze:10,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['redguy.jpg' ,'goldgun.jpg','jawbone.jpg'],slideLoop:true,frameThickness:0,imageLinks:['
    http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="500" height="200">
    </embed>
    </object>
    </noscript>
    Please help!!!
    Thank you.

    First of all, it shouldn't be inside the <noscript> tag
    see
    http://www.w3schools.com/tags/tag_noscript.asp
    for an explanation.
    Once you fix that, make sure you upload any dependent
    files—i.e. slideshow.swf & any javascript files that may
    have been generated by DW.
    If it still doesn't work after you've taken those steps, then
    post a URL to the page in question. It's virtually impossible for
    anyone to help you when they can only see part of your code.
    Bev

  • Need help exporting multiple individual PDF files out of Indesign CC

    I work for a monthly publication and we send our files to the press at the end of the month. There are around 190+ pages that need to be exported as individual PDF's and each PDF needs to be labled as their correct page number. Since we often are backed up against the wall at our deadline, we really need a way to export all these files at one time. Is there a way to export multiple PDF files at one time in Indesign CC?

    You could script InDesign to export each page as individual PDF with specific export presets and labeled with correct page number.
    But you could also use Acrobat Pro for this task (sorry for the certainly wrong translation of the Acrobat UI – I use a german version ...):
    Export the whole publication as 1 PDF file (pp. 1-190).
    Open it in Acrobat Pro and choose »Tools › Extract Pages«.
    Type 1 to 190 and check the box »extract pages as single pages«, choose the location where to extract to and acrobat automatically numbers your new PDFs sequentially from 1 to x. (Caution: it doesn’t take the correct page number, but numbers sequentially, so it is important to have a PDF from pp. 1-190 in the correct order.)
    So with this (as mentioned – sorry for German ):
    You’ll get this:
    Tobias

  • Need help with multiple devices and apple id

    Between my husband and myself, we have two Iphones, two Ipads, and one Imac.  I back all of them up on my Imac using ONE iTunes account....we prefer not use Icloud, and I think that helps keep the information on each device relatively separate from each other...no overlaps with contacts and calendars.  We have one APPLE id and password, that we use for Itunes and the App Store.   We just got the Iphone 6 for my husband, and it keeps asking him to enter his Icloud PW.(his recognized user name is his PRIMARY email address)...which presumably he does not have, nor does he need (or maybe he does I need some real guidance on that).  To keep this from making him crazy can I just delete his Icloud account, which again presumably, was created automatically with the new Iphone 6 set up??
    Similarly, I need to use FIND my Phone (etc), and HIS devices are not in MY listed devices....is this because he NEEDS his own APPLE ID, or is there a way to add his devices to my list of devices within the APP....I thought because we share the Itunes account they should all be in MY devices.
    Can someone help me make sense of this?
    THANKS!!

    Hello melissaben6250,
    Thank you for using Apple Support Communities. 
    I understand that you are not seeing your husbands new iPhone 6 in your Find My iPhone app. First, while you may "prefer not use iCloud", you are using it, at least in regards to Find My iPhone for your existing devices.
    Now, for your husband's phone and Find My iPhone. It sounds like during the setup of his phone, he logged in to his Apple ID and even possibly created another iCloud account. In order to see his phone on your existing Find My iPhone, it will have to log in to the iCloud account where the other devices are signed in. Take a look at this article on troubleshooting Find My iPhone, especially the first section on the device not appearing.
    iCloud: Troubleshooting Find My iPhone, iPad, iPod touch, or Mac - Apple Support
    Cheers,
    Jeff D. 

  • Newbie needs help with multiple devices?

    Hi and best wishes to all.
    I could really use some advice on the following.
    I purchased an iPhone and set it up on my PC in the normal way.
    A few months later, my Creative Vision battery died, and Creative's only advice
    was "buy a new one!". No chance Mr. Creative! If you call that customer care, I'm moving to Apple! So I purchased a 64Gb iPod Touch and installed that.
    I must admit to a little difficulty trying to manage both devices in iTunes, but I'm also willing to admit that if I found the time to read the manuals, I'd probably get it right!
    My main query is this:
    I now use a second laptop when I'm away from my office and I want to mirror my main PC with my portable one, so that I can manage the iPhone and iPod on both machines.
    Any advice on all of the above would be greatly appreciated.
    Thaks in advance to all, and very best wishes!

    rf4c wrote:
    Hi and best wishes to all.
    I could really use some advice on the following.
    I must admit to a little difficulty trying to manage both devices in iTunes, but I'm also willing to admit that if I found the time to read the manuals, I'd probably get it right!
    Reading manuals is so 20th century. Instead watch this helpful video, courtesy of The New York Times: Yo Jude: Many iPods; One Computer.
    The question of mirroring the library on multiple machines is quite a bit more complicated. Take a look at this support article: iTunes 9: Understanding Home Sharing.

  • Need help with multiple users of a catalog

    I run Lightroom in a small office and several of us have to have access to the image catalog, using Windows XP.  To accomplish this, the images were placed on a shared external drive, the catalog was created on a USB flash drive and Lightroom was loaded on multiple computers.  Everything has been fine and this strategy will work for us.  However, when I move the catalog to another computer (logged on as a different user) the catalog appears with all keywords and image adjustments, but my import presets are not available.  The preset files are located in the preset folder that accompanies the catalog, but they won't appear in the drop down box within Lightroom when attempting to import images.  My temporary solution is to recreate the import presets, which I have done for one other user so far, but I don't want to have to do that for each new user.  If one looks for the preset file, it is located in a folder called "user", but I have not figured out how to get Lightroom to recognize and use the preset files after logging on as a different user.  When I move the catalog (USB flash drive) back to my computer (original computer, original user), then everything is fine again and I can see and use al the presets. 
    Anyone use Lightroom accross users or machines?  Any way to get Lightroom to "see" and use import presets by multiple users?
    Thanks for any help!

    Not really sure if this will help or confuse things...
    If each user has a preset folder/directory, could you not create a symlink that points to oen on the USB device? And then keep all the presets there?
    Disclaimer:  i have not tried this, nor looked at it much, just a thought as i was reading your post.  If it doesn't apply, ignore me!
    Cheers!

  • Need help with multiple iTunes files

    i had iTunes songs/files on an old pc for years, backed up on an external hard drive.  i then backed up that external drive with another newer external drive and hooked that newer drive to the mac.  i then imported all songs onto the mac iTunes library.
    now when i look at the song list in iTunes on the mac, there are three versions of every song - the first one will play but the next two versions give me the explanation point next to them and say they can't be found.  HOW DO I ELIMINATE THE SECOND AND THIRD COPIES OF EACH SONG THAT CANNOT BE FOUND - TRYING TO CLEAN THINGS UP.
    thanks

    This technique should help you identify which entries need to be removed.
    Lost & Found Playlists
    Create a playlist called Found, select everything in Music and drag it into the Found playlist (it may take some time to count the tracks that are to be dropped). Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist. Cmd+A should select all and Option-Delete should delete them.
    Or try Super Remove Dead Tracks.
    tt2

Maybe you are looking for

  • Adobe Flash Player 11.3

    Each time I attempt to install this, I get an error message stating that "a more updated version is available", and redirects me to a different site (which directs me right back to this same installation).  Please advise.

  • Making the bar move

    hi all... im in the midst of creating a rectangle that acts like a firing mechanism in the pinball... the idea is upon pressing the keyboard button the rectangle will move downwards.....once released the rectangle will go back to its original length.

  • How to access virtual folder in oracle apps 11i?

    Hi, how to access virtual folder in oracle apps 11i? Version=11.5.10.2 please help Thanks,

  • What program(s) opens the airport utility download file

    I am installing on PC and have nothing to open a dmg file - any suggestions

  • How do I clear a filter automatically on an interative report when I return

    I have several pages with interactive reports. If the user sets up filters to refine the list in the report, they are still there is the user returns to that page later, even if I clear the cache. How can I make the interactive report bring up the ba