Hide/show a field

I'm puzzled. I created a box, and I "Mouse Up" to show a hidden field. But when I uncheck the box, the field is still visible. I'm very novice and could use some advise. Thank you!

Using a checkbox to show/hide fields can be done, but don't not using a mouse event like that it will be a permanent change.  Instead, you can use two buttons, one to hide a specific field and the other to show.  Alternatively, you can use a checkbox and script a bit to work.  C1 is the name of my box and text 2 is the area I want to show or hide. I also gave my box an export value of 2 just arbitrarily.  By placing the script in the field calculate Text2, it will determine if the checbox is verified through tests to see if it has a value of 2, it will have only if verified.  If it isn't then the field is hidden if it is not, then field is visible.  It's a start.

Tags: Acrobat

Similar Questions

  • Hide/show the fields based on textbox

    I wonder if there is a way to hide certain fields based on the question of if a user enters a value in a text box and then reappear if the value in the text box is removed and the field becomes white.

    I have two scenarios where I would this happen

    1. I have a "Non-registered" check box and a text field 'blood pressure '. If the user check mark the box "Not registered", the field of blood pressure is hidden (I managed this already). If the user unclicks the box, the field of blood pressure again (even once, I did already). Otherwise, if the user enters a value in the 'pressure' I would 'Unregistered' area to disappear. I got this as well with this code: (placed in the form of javascript Action, mouse upward, event)

    this.getField("Not_Recorded").display = event.target.value = "Off"? Display.visible: display.hidden;

    I don't know if it's the appropriate script that I use, but he did not hide the field "unregistered". The problem is, I would 'not registered' to hide if a value is entered in the field of blood pressure and reappear if this value is then removed (i.e., the user changes his mind or made a mistake and wants to not click saved instead). I don't know if it's feasible or just way too complicated for me to do.

    2. in the second scenario, I have 2 text fields where the user must enter a value for weight in pounds or kilograms. There is a text box for a value of lbs and a text box for a value in kg. If the user enters a value for books, I'd like to field for kgs be hidden, but still, if they delete this value so that the lbs field becomes empty, I would field for kgs reappear.

    is this feasible or is there another way I might be able to do this?

    For the first, I would not hide the check box for the reason you give. In addition to hide the text field, it must reset it so that any value that the user may have entered is not retained when it is hidden.

    If you really want to show/hide the check box depending on whether there is an entry in the text field, you can use the validation script customized for the text field:

    var f is getField ("unregistered");.

    If (! event.value) {}

    f.Display = display.visible;

    } else {}

    f.Value = "Off";

    f.Display = display.hidden;

    }

    For this script start working, you change the value in the text field.

    For the second problem, what I do, is to have a single text field and two boxes to tick to indicate lbs or kg. If you want to stay with the configuration you have, you can clear the other text field with a custom validation script:

    Script for weight_lbs custom validate field

    If (event.value) getField("weight_kgs").value = "";

    Do the same for the other text field, but change the domain name in the script. This will allow only one field to be filled at the same time and do not bother with the masking.

  • How to hide/show a field based on the data from more than 1 field?

    Hello.

    I'm trying to hide/show a based on the data of field2 and field3, Field1

    in fact using dynamic measurements I can only hide/show Field1 Field2-based, but I need a combination, for example:

    If field1 = 'A' and field2 = 'B', then see the field3, other hide field3

    y at - it an easy way to do it.

    I use Application Express 4.2.4.00.08

    Thanks in advance

    Dynamic action

    On the changes

    jQuery selector: #P1_ITEM_1, #P1_ITEM_2

    Condition: JavaScript

    $v ('P1_ITEM_1') == 'A' & $v ('P1_ITEM_2') == 'B '.

    Real Action: show item 3

    Action of false: hide item 3

  • Hide/show several fields via the Radio button

    Hi all

    I use the script below on an option button to hide and display a field on a form. I also want to use the same button to control another field named 'instructions for lbl_dynamic' The Acrobat forms book I use as a guide does not address the hiding and showing of several fields at the same time. My attempts to add the second field have failed. How can I change the script to control two fields instead of one?

    Thanks in advance for any ideas on that.

    var lst_dynamicFld = this.getField ("lst_dynamic")

    If (event.target.value == 'Yes') {}

    lst_dynamicFld.hidden = false

    }

    else {}

    lst_dynamicFld.hidden = true

    }

    'hidden' is obsolete, which means that in the next version of

    Acrobat/Reader, your script could no longer works if you use it.

  • Hide / show text field

    Hi, I created the text box as hiring date: which is the column in the database.
    I would like to show the hiring date if the empno exists in the database, otherwise do not show.
    How display the date of hiring only when the empno is exists in the database.

    Please help fix.

    Thank you

    Hello

    Is this report, tabular, normal form or another region type?
    If it is normal, because it's simple game field is conditionally EMPNO element is not null.

    And always mention your Apex version

    Kind regards
    Jari

  • Hide/show a dynamic field

    Hello

    I'm new to OFA.

    I have a requirement to hide/show a dynamic field based on the operating unit.

    So instead of hard coding UO, I use lookup.

    Now, what I've done, spread the VO and VO query added a new column to validate in relation to research and back 'n' or 'Y '.

    I created a transitional and in VORowImpl attribute. I'm valid against the newly added column VO and assigning the value TRUE or FALSE to the transitional attribute.

    and I'm on SPEL in Customizing the page.

    Now what is happening is when an existing record is asked in the page, the field is hidden/unhinden based on the given condition.

    But when a new record is created, this condition does not work.

    So I guess that the VO don't get initialized when the page is loaded? Is this the reason why the condition is unchecked in VORowImpl?

    My hypothesis is correct?

    How do I get my requirement?

    Pointers would be useful...

    Thank you

    Naren

    Hi AJ,.

    I forgot to update the thread. Reached the requirement.

    Solution,

    Created a transient VO attribute.

    Then in VORowImpl, written the code to set the transient attribute.

    Then using customization, SPELL, set the property to the item.

    It works perfectly.

    Thank you for guiding me to assign to the attribute.

    Kind regards

    Naren

  • Hide/Show/activation/deactivation of a field conditions is adjustable in the source PDF file in Acrobat before downloading/creating a widget?

    Normally, I put all the fields, check boxes and option boxes I need using Acrobat before downloading/creating a Widget, but were never able to determine if/when in acrobat that you could potentially affect hide/show/toggle conditions.  In this way, if I ever need to make any changes to the PDF source and produce a new widget, I don't have to redo all the settings of the conditions if these fields does not change in any way.

    You can add text fields (or checkbox and radio buttons) and name these fields using the tag text, but without the brackets syntax.

    Document help Cloud | Form creation | eSign services

  • several checkboxes show/hide the same fields

    Hello

    I use Adobe LIvecycle designer ES2.  I have about 20 checkboxs need to show and hide the same fields. I can get it to show and hide the fields if the check boxes are selected. The problem lies when you uncheck a checkbox, allowing to hide the fields but if the original box is not disabled I would like this information to stay.  How do I script for this

    Hello

    You have complete control over it.

    Here are various approaches if you had four check boxes controlling the presence of a subform. All scripts are FormCalc and in the case of page layout: ready for the subform.

    Where any box would display the subform:

    If (sum (Checkbox1, Checkbox2, Checkbox3, Checkbox4) ge 1) then

    .its presence $ = 'visible '.

    on the other

    .its presence $ = "hidden".

    endif

    Where all four box have to click it to show the subform:

    If (sum (Checkbox1, Checkbox2, Checkbox3, Checkbox4) EQ. 4) then

    .its presence $ = 'visible '.

    on the other

    .its presence $ = "hidden".

    endif

    Make sense?

    Niall

  • Hide - show the button field

    Hello

    I display the image one after the other on the screen.

    According to indext of image I want to hide show next previous button,

    How can I do?

    If (current_index == Questions.size () - 1) {}
    _btnnext.getManager (). Delete (_btnnext);
                        
    } ElseIf (current_index == 0) {}
    _btnprevious.getManager (). Delete (_btnprevious);
    } else {}
    If (! _btnnext.isVisible ()) {}
    _hfm. Add (_btnnext);
    }
    If (! _btnprevious.isVisible ()) {}
    _hfm. Add (_btnprevious);
    }

    }

    Currently, I found this solution.

    But I think there must be another way and then add and remove from view every time.

    Thanks in advance.

    bskania.

    You can do this using the setEditable method

    If (current_index == Questions.size () - 1) {}
    _btnnext.setEditable (false);
                        
    } ElseIf (current_index == 0) {}
    _btnprevious.setEditable (false);
    } else {}

    btnnext.setEditable (true);
    _btnprevious.setEditable (true);

    }

  • Tabular presentation - hide/show the Datepicker calendar

    Hello

    I am toggling of a column of date picker in tabular form wizard based on the value of another column in the same row, using javascript. However, I was unable to find a way to hide/show the associated calendar. Can someone tell me how to proceed?

    Thank you!

    Hello

    The structure on a tabular presentation for a date picker article, is more complicated than for a normal input field:

    <td  headers="Hiredate" class="t4data">
      <fieldset class="datepicker" id="f04_0004_fieldset">
        <table summary="" border="0" cellspacing="0" cellpadding="0" class="datepicker" id="f04_0004_holder">
          <tr>
            <td class="datepicker">
              <input type="text" name="f04" size="7" maxlength="2000" value="01/05/1981"  id="f04_0004" />
            </td>
            <td>
              <a  href="javascript:void($p_DatePicker('f04_0004','0','DD/MM/YYYY','#666666','','','','','1981','en-gb','Y','45958','1683565711731582981','05','210'));">
                <img src="/i/asfdcldr.gif" alt="Calendar" align="absmiddle" />
              </a>
            </td>
          </tr>
        </table>
      </fieldset>
    </td>
    

    While access to the input box by referencing its name attribute, it is impossible to the icon. What you need to do is find the input field, go up to the TR that contains, find indicator A in this TR and hide.

    Try something like:

    <script type="text/javascript">
    function disableDatepickers()
    {
     var f1 = document.getElementsByName("f01");
     var f4 = document.getElementsByName("f04");
     var k;
     var r;
     var a;
     for (k = 0; k < f1.length; k++)
     {
      if (parseInt(f1[k].value) < 7800)
      {
       f4[k].disabled = true;
       r = html_CascadeUpTill(f4[k].id,'TR');
       a = r.getElementsByTagName("A")[0];
       a.style.visibility = 'hidden';
      }
     }
    }
    disableDatepickers();
    </script>
    

    In this example, the first column (f01) contains an EMPNO. If this value is < 7800, I find the datepicker and disable it, then find the A tag that is in the same b and hide. Adjust the f01 and f04 accordance with column names and change the IF test to meet your needs.

    Andy

  • Automatically add delays to the ability to hide/show the bar

    I activated the option to hide/show the bar automatically. I would like it when I touch the upper part of the screen with the mouse, the menu bar will appear with some delays (2 seconds for example). First it is possible to configure the delay?

    NO, but you can offer this feature for Apple

    http://www.Apple.com/feedback/

  • Qosmio G30-126 - how to hide/show the top bar?

    How active hide/show the top bar on the upper side desk, but disappeared how can I return it again?

    You want to have some Flash cards on top of the desktop computer?
    This isn't a problem

    In all programs-> Toshiba-> Utilities-> settings for Flash cards, you can activate this option!

    Check it!

  • Hide/show controls single cluster

    Hi all...

    I'm doing something, but without success...

    I have 2 groups of 20 witnesses

    1. 20 Boolean switches

    2-20 digital indicators (LDM)

    What I want to do is simple when I'm pressing one of the buttons bool I want to hide/show the digital relevant.

    If anyone can help?

    Its a bit quick and dirty, but it don't do what you want.  Digital command allows you to select the item in the cluster and boolean to enable or disable then press run.  He could have put in a loop with stop button

    Ken

  • I installed a sniper art called win game it shows yellow field and gives Pure virtual function error

    I installed a sniper art called win game it shows yellow field and gives Pure virtual function error.

    Hello

    · What is the full error message that you receive with error code if any?

    I suggest you to refer to the manual of game for more information contact the Publisher of the game for support. There may be a specific game update that solves this problem because it seems to be linked to a C++ runtime error in the game.

  • Hide region show how to maintain the status of hide/show on send page

    APEX 4.2.1 using theme 24

    I have several areas on a single page that are defined using the "Hide Show Region" model this model defines the regions to show everything first. If a user chooses to hide a region is there a way to keep this state when the page is submitted? Example region top of page is to hide/show parent to an interactive report, below this area is a relative of region to hide/show for a tabular presentation, if the user chooses to hide the interactive report region and they enter data in the region in a table, when he clicks on save and the page is submitted the interactive report region appears and the tabular form region appears still longer down in the page and the user have to scroll down to access.  I'd rather have the page 'to remember' the State of hide/show that the user has selected for each region and keep this status when the page is sent.

    Someone has an idea how to do this?

    Thanks in advance for a suggestion to work!

    Theresas

    You have almost all the way.

    As you have probably already understood, the problem is that the code requires that regions begin closed and it will 'click' to open.  If you're one of them is already open, you have now two inverse regions.

    I think that it is better to have them both be areas closed, when the cookie should be created (we were a new cookie for that) then "click on" one you want to open and create the cookie with this region in.  From that moment of the code can continue to click on the one that was left pending.

    So, I added more code to the initial opening. I introduced the P2INIT cookie which will be set to YES the first time the page is visited.  Its only purpose is to open the region to report on the first visit.

    After that, the logic can circulate to store regions that can be opened.

    Also, I have completed the static ID of the report to better reference by name.

    Now, I have to say, if you are presenting the same data, but a game is available to edit in a tabular form, something like Page 3 would work?

    When you click on edit the grid it will hide the report and view the form in a table. When you click 'View report' he hide the form tab and view the report.

    I think it's a clean approach and the data are not queried the DB double. It also avoids the flicker of the openness of the region.  Just an idea.

    I use preferences instead of cookies.  The nice thing about the preferences, it's that they are saved in the DB for the user, so if the same user logs on to another computer or a browser preference comes with them.

    Thank you

    -Jorge

Maybe you are looking for

  • In my iTunes, I click on ITUNES STORE, the store open in iTunes.

    I have a Windows 7 OS where I run my iTunes. It is up to date (itunes and OS) and worked fine, but suddenly two days ago, when I click on the SHOP, the pages are suddenly more grand, so great that I can't the sidebars. And the fonts are larger when I

  • Impossible to verify if the plugins are up to date

    Since May 4, 2012 about 6 hours EST (on 3 different computers) I get "sorry, we couldn't find the page or file you were looking for" when I click on the link "check to see if your plugins are up-to-date" through the page modules. It is the first time

  • Pavilion dv3-2230ef: 2230ef DV3 memory upgrade - can I use DDR3

    In the manual it says the: -DV3 2000 can take 8 GB DDR2 RAM -2300 DV3 can take 8GB DDR3 RAM I have a model 2230ef DV3, can I switch to 8 GB of DDR3 RAM? Maintenance manual, Page 11: http://h10032.www1.HP.com/CTG/manual/c01998025 Thank you very much R

  • Microsoft Update KB979482 failed with error 80073712

    I have Windows Vista on my PC. All updates will install properly. For example, the update has been MS security definition 1.87.1452.00 from today (07 Aug). However, this specific update (KB979482) allways fail to update due to the error 80073712. I h

  • OS Linux

    So I try to find a Linux-based laptop.  Mainly for security reasons and to dabble with the operating system.  I'm willing to pay what I owe but all I see is for business and dell.com will not let me it charge to debit an account of my CCA.  Any way a