How can I force an "invisible" object to become "visible" when a numeric value is entered?

So I’m trying to force an “invisible” subform to switch to “visible” when a numeric value greater than or equal to 22 is input into a numeric field.
I can’t get the following javascript code to work properly with any event. I’ve tried the change, calculate, validate, events and a few more to no avail. The only event that kind of works with the javascript code I’m using is the validate event. When I input the code into the validateevent, the invisible subform becomes visible when an amount equal to or greater than 22 is entered, but when ANY amount is input into this field, an error message pops up that says “NumericField4 validation failed” and the user has to click “Ok” to get rid of the pop up box.
if (this.rawValue <= 22) {
        Approval23.presence = "hidden";
if (this.rawValue >= 23) {
            Approval23.presence ="visible";
 Here’s a link to my .pdf: http://www.filedropper.com/salgovform
The object field that the javascript code is contained in is called: NumericField4 (a.k.a. New Job Grade)
The subform that I want to become visible when a number greater than 22 is input into NumericField4, is called Approval23.
I’ve based the javascript code I used on information I gathered from the following thread and associated .pdf . . .
Thread:
http://forums.adobe.com/message/1982919
PDF in thread with the javascript code:
http://forums.adobe.com/servlet/JiveServlet/download/1981437-8059/Sample_SW.pdf
I’m pretty sure I’m just missing one little thing that’s throwing everything off!
Any help would be GREATLY appreciated.

Hi,
The following works in the exit event of the numeric field, where the language is set to JavaScript:
if (this.rawValue <= 22) {
     Approval23.presence = "hidden";
else {
     Approval23.presence = "visible";
Here is your form: https://acrobat.com/#d=3gRNt6WBY2bE0K7en4CnSA
Hope that helps,
Niall

Similar Messages

  • How can I force the use on a specific application when I am in the Downloads window?

    I have Vista and Firefox 3.6.15
    when I open an email attachment it goes to the intended application but when I click on the downloaded file in Downloads it invokes OpenOffice and then it displays:
    "Move background page assignment
    The loading of password-encrypted Microsoft Powerpoint presentationsis n ot supported"
    How can I force the use on a specific application when I am in the Downloads window?

    Hi Frank!
    you should catch your save-event and after saving put the following line:
    oMatrix.Columns.Item(4).Cells.Item(lstRowIndex + 1).Click(SAPbouiCOM.BoCellClickType.ct_Regular);
    that's it!

  • How can I force Indesign cs5 to open cs5 documents when both cs5 and cs6 is installed?

    We are using Indesign with cs5-specific plugins. Due to that we have both cs5 and cs 6 installed on our workstations. Trying to assign cs5 documents (INDD) to cs5, windows refuses to let us choose indesign.exe (cs5). How can we force cs5 to be the chosen application for .indd?

    The best way is using Soxy:
    http://www.rorohiko.com/wordpress/downloads/lightning-brain-soxy/

  • How can I align a text object by the visible text and NOT by its bounding box?

    Illustrator CS4.
    I am trying to align some text to the center of the artboard. The bounding box is bigger than the text, so when I try to align it to the artboard it doesn't actually center align the artwork as I need it to. The text is needing to be aligned with another text object, so I can't just center align the text and then align to the artboard (which would eliminate the bounding box problem, I think). To make matters worse, the text I want to align has a stroke.
    The only way I know to currently align the text properly is to convert it to outlines. This is what I've done, but I need something better. I want to be able to have my illustrator file that has all editable text and then be able to make a separate identical file with all text converted to outlined paths. The only thing holding me back right now is that I can't get the exact alignment while everything is still as text.

    The solution is to simple to believe and probably why you over looked it.
    You make two text frames to exactly the height and width of the text. You position the text in the relative location and then group the text frames  then center that group on the artboard.
    Like such:
    If you ever want to add text that should be no problem but you have to re center.

  • I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • How can I force-install iOs5/6 apps on my iPod Touch?

    Hi, I have an iPod touch version 4.3.5 (ML1). Model is MC540C.
    The App Store sometimes bars me from installing apps because the app has a minimum requirement of iOS 5 or 6. How can I force my iPod to install these apps anyway?

    No, it is more than the screen dimension.
    You have a 4G iPod, why not update?
    To update:
    iOS 4: Updating your device to iOS 5 or later
    You need iTunes 10.7 or later on the computer

  • How can we assign sproxy generated objects to a different package?

    Hello Expert,
    We need to change the package assigment of sproxy generated DDIC objects. How can we assign sproxy generated objects to a different package?
    Regards,
    Thulasi

    Any idea?

  • How can I force iTunes Match to upload a "Duplicate" to the iCloud?

    I have one album where the first track was uploaded, and the other eleven tracks are all tagged as "Duplicates." These tracks were not uploaded to the iCloud. How can I force iTunes Match to upload these eleven tracks erroneously tagged as Duplicates?

    I'm adding my 2¢ because I just "discovered" iTunes Match yesterday and decided to subscribe thinking there was no downside (doh!).
    Well, firstly, there's the enormous downside of Apple's structure not being able to keep up with (what they should have known would be) enormous interest... my iTunes has been matching for >20-hours and has yet to reach half-way up my library. BTW: I thought I read the iTunes Match info fairly thoroughly prior to subscribing and did not see anything about it being for songs vrs full library.
    And secondly, and even more important to me, is that Apple's method of determining duplicate songs is not robust enough, especially for classical music and audio books (e.g., LoTR). I have >12000 "songs" in my library, and Match has determined a boatload are duplicates. They are not of course and even if Apple's duplicate-determining algorithm just looked at disc & track numbers it would "know" that. Anyway, there's a fairly good chance I will not have one complete album upload/match out of >500 albums. That's nae Scottish, in anybody's book.
    Gotta say, using Garage Band to individually alter >2000 "songs" on the off-chance that may assist Apple's duplicate algorithm to be correct is not gonna happen. If, after the matching/uploading is complete, I still have >even 100-not-duplicate-songs listed as duplicates, I'm getting my $29.95 subscription back.
    ... and C: does anybody know why Apple's Lion spell check doesn't work on Apple's discussion forums???

  • How can i force my mac book pro to use an external display

    how can i force my mac book pro to use an external display
    my screen is black

    What sort of adapter are you using?
    Clinton

  • How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.

    How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.
    When I start a backup. Time Machine says "Oldest Backup: None; Latest Backup: None", so it seems like it should do a complete backup, but it only does a partial. 

    Hi I'd like to jump in here. Your app showed me this:
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 749.3 GB Disk used: 453.81 GB
              Destinations:
                        Plastic Wrapper [Local] (Last used)
                        Total size: 999.86 GB
                        Total number of backups: 64
                        Oldest backup: 2013-07-24 23:25:11 +0000
                        Last backup: 2013-11-17 01:40:47 +0000
                        Size of backup disk: Too small
                                  Backup size 999.86 GB < (Disk used 453.81 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
              /sbin excluded from backup!
              /usr excluded from backup!
              /System excluded from backup!
              /bin excluded from backup!
              /private excluded from backup!
              /Library excluded from backup!
              /Applications excluded from backup!
    Aside from the size of my backup drive, which I will increase at some point, I'd really like to have time machine backing up all system folders, especially Applications. How to I reset this hidden exclusions?
    Thanks,
    Darcy

  • How can I 'force' my Macs to look for each other on the network?

    OK, I have an iMac with a wired connection to a router, and a MacBook Pro with a wireless connection to the same router. Most of the time, they can 'see' one another on the network, no problem. But, every so often, even after both have been on for a while, I will click the Network icon and the other computer will not appear as available - this happens even when the target computer can see the computer I'm using to try to access it.
    So, here's my question: how can I 'force' my Macs to look for (and find) one another on the network?
    Thanks... if you need further information, just ask... - beck

    If you are using Tiger, go to
    Finder menu -> Go -> Connect to Server
    Enter the specific IP address of the other Mac where is says +Server Address+. You can find the IP address by running System Profiler or looking at System Preferences Network pane (on the other Mac).
    Once you have mounted the volume you to access, make an alias for it and place it in the Dock or on your Desktop. The next time you want to connect to that server, use the alias.

  • How can i access all the objects of one schema from another schema

    Dear All,
    How can i access all the objects(Tables,Views,Triggers,Procedures,Functions,Packages etc..) and do the modifications of one schema from another schema (Without using synonyms concept).
    Thanks in advance,
    Mahi

    First of all, synonyms only help you easy reference the object. It doesn't have any implication of object privilege.
    As long as you have proper privilege on target object. You can access it with or without synonyms.
    Assuming you have proper privilege of objects, you can use following command to assume schema owner.
    ALTER SESSION SET CURRENT_SCHEMA = Schema_owner

  • How can i reference a MIME object within a correspondence format through...

    how can i reference a MIME object within a correspondence format through TX oofo or se71?
    Hi, I need to put a MIME object within a correspondence's format that i've already done through Tx oofo. My problem is, that i don't know exactly how can i make the reference of that MIME object in the format? and What structure type do i have to use in order to make appear the MIME object in my correspondence's format? Does anybody can help me with this?   
    Regards    Hector

    Frank,
    I tried to find some examples/samples on how to create CollectionModel for a table component but not successful.
    Can you clarify the following ?
    1. "CollectionModel" is referenced only by af:table attributes "value", "selectedRowKeys" and "selectionListener".
    The rest of af:table attributes such as "rows", "fetchSize" used to reference the iterator binding in the binding container via the EL expression "#{bindings.VOIteratorBinding.xxx} .
    What should I replace that EL expression with?
    2. I heck out the bean method to create the CollectionModel as following, is it close to what you mean?
    public void initBusinessDataDashboardView() {
    OperationBinding operation = BeanUtils.getOperationBinding("getPanelBusinessData");
    Map params = operation.getParamsMap();
    Key panelKey = getPanelInfoView().getKey();
    params.put("panelKey", panelKey);
    params.put("maximizedView", false);
    panelView = (ViewObject)operation.execute();
    // Heck code to create CollectionModel
    RowSet rowSet = panelView.getRowSet();
    ArrayList rowList = new ArrayList();
    while (rowSet.hasNext()) {
    rowList.add(rowSet.next());
    model = new ChildPropertyTreeModel(rowList, null);
    // To be used to set up af:table value, selectRowKeys, selectionListener via EL expr #{backingBeanScope.MyBean.model.xxx}
    public CollectionModel getModel() {
    return model;
    Am I on the right track?
    Edited by: Pricilla on May 4, 2010 2:20 PM

  • How can i create a custom object 0REQUID

    Hello all,
    I have a question. How can i create a custom object 0REQUID? Is it possible to create it without actvating BI content?
    Thanks in advance..

    Hi,
    If you want to create a new info object which is a copy of 0REQUID. then
    Go to > info object key figure / Chara catalogue> create new key figure / Chara --> enter 0REQUID in front of TEMPLATE and you will get all details of 0REQUID in your new key figure / chara.
    Hope this helps.
    Assgn pts if helpful.
    Regards
    Edited by: chintamani deshmukh on Apr 14, 2008 11:09 AM

  • How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    Well if there is a EFI block, then running a program in OS X isn't going to do a lick of good.
    After all EFI was designed for Trusted Computing and Digital Rights Management, to act between the OS and hardware, can read drives, contact the Internet and everything.
    Windows doesn't use EFI, will have UEFI in Windows 8 though.

Maybe you are looking for

  • Cannot get the copy setting to change from two-sided to one-sided on my officejet pro 8615

    My copy setting on my printer (HP Officejet Pro 8615) all-in-one shows Two Sided               1:1 When I tab over to where the 1-sided original and 1-sided original copy & 1-sided original and 2-sided copy can be selected, the blue light is on 1-sid

  • Purchase info record as SOS in template Shopping cart

    Hi, We are on SRM 4.0, support pack 4. At present purchase info record created in the backend is not taken as source of supply in SRM for Template shopping carts.We have a requirement for this functionality. Has anybody done this development in their

  • Why can't I download from my GO PRO sd card using the lightening connector?

    I bought the lightening SD card adapter thinking I could use my iPad to store films and still pics from my GoPro Hero 3 SD card to fr space when on holiday.... When I plug it in with the SD card from my normal camera it works fine but when I use the

  • How to customize URL in modal dialog script?

    Hi All, I am using JSLink to open Modal dialog, want to customize the url by adding '&DefaultView=Email' to URL in script. How to do this in below script: (function () { // Create object that have the context information about the field that we want

  • Upload FI document - Park & Post

    Hi Experts, I have three upload programs for posting accounting documents in FI(for Tcode: FB01). All three of them use three different methods for upload viz. BAPI(BAPI_ACC_DOCUMENT_POST), Direct input(RFBIBL00) & BDC. Now, the issue is that, instea