How do you use a Combo Box value export to determine the visibility of another field

Hi all

Struggling to create a form that has 1 area 2 text fields and drop-down list. Based on the selection in the drop-down list box, I want the 2 fields to be visible or hidden.

The drop-down list box has 4 choices, 2 must show 2 text fields should hide the text fields.  I put the value of export on each choice '1' or '0 '.

txtChild1 & txtChild2 are text fields

cboRelatStat is the drop-down list box

Place code in the drop-down list box strikes but again without success.

var cDisp = this.getField ("txtChild1")

var cWrite = this.getField ("txtChild2")

If (event.changeEX == '1') {}

cDisp.hidden = false

cWrite.hidden = false

}

Else if (event.changeEX == "0") {}

cDisp.hidden = true

cWrite.hiden = true

}

Do not worry

Understood that it was my own typing, which I was let down.

(event.changeEX == '0') should have been (event.changeEx == '0')

Tags: Acrobat

Similar Questions

  • Additional mouse click required to set other combo box values based on the current selection combo box

    I have an Acrobat PDF form where there are 8 combo boxes (not editable) which are related in a logical way, but have unique names and a list of unique values, with the exception of a default value that represents 'null' or 'none '.

    for example:

    The first 1 combo box value is "none" followed by the value A1, B1, C1, etc., and Combo box 2 the first value is 'none' followed of the values A2, B2, C2, etc...

    The combined list useful values for every combo boxes relate to the types of unique product for the user to select mode 'radio button '.

    When the user selects one of the 8 Combo boxes and performs one selection other than 'none', then the form must verify the 7 other combo boxes and when any current value is not equal to 'none', he has to change 'None '.

    The following script is currently enrolled in the properties of "Actions - Mouse Run - Up a Javascript" from one of the drop-down list boxes, others have similar scripts as well.

    (var cbox is the current combo box and var obox is for other drop-down list boxes when called).

    Cbox var = this.getField ("TagStyleStake");

    If (cbox.value! = "none")

    {

    obox var = this.getField ("TagStyleBasket");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    Obox = this.getField("TagStylePushon");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    Obox = this.getField("TagStyleHandle");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    Obox = this.getField("TagStyleHang");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    Obox = this.getField("TagStyleBlank");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    Obox = this.getField("TagStyleMolded");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    Obox = this.getField("TagStyleSignage");

    If (obox.value! = "none")

    {obox.value = 'none' ;}

    }

    The current problem is that, when a Combo is selected and one option other than the 'none' value is clicked, the other combo boxes do not include the 'None' value.

    To reset the other combo boxes requires another click on the option which has just been moved to the position selected in the drop-down list, but it seems reasonable that the drop-down list boxes should reset with the initial click the option in the drop-down list.

    I tried other properties (Format, validate, Calculate) but without success.

    What I'm missing here?

    The normal way to proceed is to define "value option selected to validate immediately" and to place the code in the event of the combo box button. And instead of the first two lines you have, you need to use something like:

    If (! event.willCommit & event.changeEx! == 'none') {}

    Your other code goes here

    }

    The changeEx property returns the value of exports, if any, for the selected item.

  • HOW do you use the INS/PRT SC button to insert the copied data? It does not work! Help!

    I just got a pavilion DV6-7010us... I have always used the INSERT key when I copy data and insert into a message, chat screen, document... this computer has a key of INS/PRT SC.  I can't get the key to insert data into almost anything.   How do you use this key?  or is there another way to insert data that you copied, into something... ???  I'm used to use Shift + Insert key on my old laptop.    Right now, I try to keep in my mind to use the mouse to insert data... but would like to be able to use the key on the laptop keyboard.

    Is there a way to do it?

    Thank you

    Barbara

    You must identify your laptop for each of us to have a clue as to what looks like your keyboard. There are so many models of HP to be precise.

    Remove the battery and look for the label that says p/n. Post this string alphanumeric together here. It is your HP product number. G6 or dv6 and dv7 are all just model numbers.

    You can also do this by using Ctrl + C to copy and Ctrl + V to paste. That's what most people use to copy and paste in most applications and productivity programs.

    Because Windows 7 has the capture tool, I didn't even use the Ins or Prt Scr.

  • How do you use the Exp fundtion on the windows calculator

    How do you use the Exp function in the windows for the following calculator

    Exponential of the negative power of 0.5

    e

    I don't have.
    I couldn't find an e = 2.71828183 key on the windows calculator.
    I used Google's built-in calculator function.

    The windows calculator, you will need to enter:
    2.71828183 [x ^ y] (-0.5) =.
    ||

  • How do you use gigabyte?

    How do you use gigabyte?

    Measuring internet bandwidth: http://download.cnet.com/NetWorx/3000-2085_4-10155904.html

    RAM usage: press Ctrl + Shift + Esc and look at the percentage of physical memory down.

    Drive hard/Flash DRIVE / DVD / CD using: click Start, and then click "Computer", click your desired drive, and the info is displayed.

  • How do you add additional text boxes to a model card in MEA Mobile?

    How do you add additional text boxes to a model card in MEA Mobile? There are only three areas of default text of article metadata. I need to add 4 or 5 separate metadata text boxes to my card.

    Thank you.

    Here is a screenshot:

    aemQuestion.png

    You are allowed only three lines of metadata. However, you can add several fields of metadata for each line, like this:

    {{Title}} by {{author}}

    {{Summary}}

    {{Department}}, {{category}}

  • If you have CC on two different computers and you forget to sign out how do you use CC on the second computer?

    If you have CC installed on two different computers and you forget to sign out how do you use CC on the second computer?

    Please see this link for more information on the installation of creative cloud on multiple computers:

    FAQ: Can I install Creative Cloud on several computers?

  • How do you use the creative cloud with using the internet.

    How do you use the creative cloud with using the internet.

    You MUST have an internet connection to download and activate the programs

    After this, you MUST have a connection to the programs check your subscription on the calendar below

    Cloud status check 30-or-99 days https://forums.adobe.com/thread/1549838

  • How can I use Photoshop to remove scanned Brown adhesive around the edges of a digitized photo and keep the image showing through the band? Thank you very much.

    How can I use Photoshop to remove scanned Brown adhesive around the edges of a digitized photo and keep the image showing through the band? Thank you very much.

    Dear Melissa,

    We thank you for your email about my problem with the Brown stick Ribbon at the bottom left of this photo. I attach the screenshot. As I said before, I need to remove the Brown adhesive while maintaining the image of the small low boat left and its mast covering the band. Is it possible to do this with Photoshop?

    Kind regards

    Robert Bellingford

  • How do you use the FileChooser.ExtensionFilter in JavaFX?

    Hello world

    How do you use the FileChooser.ExtensionFilter in JavaFX to set the file name extensions and filters of the extension?
    I'm sorry but there are no tutorials covering the "FileChooser" element in JavaFX, I know? Any advice or ideas
    will be greatly appreciated to direct me in the right direction.

    Many thanks in advance!
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.stage.Stage;
    import javafx.collections.*;
    import javafx.stage.FileChooser.ExtensionFilter;
    import javafx.stage.*;
    import javafx.scene.*;
    import javafx.scene.layout.Pane;
    import java.io.*;
    
    /**
     *
     * @author Shakir
     */
    public class Filech extends Application {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            Application.launch(args);
        }
    
        @Override
        public void start(final Stage primaryStage) {
    
            primaryStage.setTitle("Hello World");
            final Group root = new Group();
            Scene scene = new Scene(root, 300, 250);
    
            Button btn = new Button();
            btn.setLayoutX(100);
            btn.setLayoutY(80);
            btn.setText("Get file chooser");
            btn.setOnAction(new EventHandler() {
    
                public void handle(ActionEvent event) {
                    FileChooser choose = new FileChooser();
                    File d = new File(getClass().getResource(".").getFile());
                    choose.setInitialDirectory(d);
                    Stage st2 = new Stage();
    
                    st2.initModality(Modality.APPLICATION_MODAL);
                    javafx.stage.FileChooser.ExtensionFilter filter = new FileChooser.ExtensionFilter("executable", "*.class");
                    st2.initOwner(primaryStage);
                    choose.getExtensionFilters().add(filter);
                    choose.showOpenDialog(st2);
    
                }
            });
            root.getChildren().add(btn);
            primaryStage.setScene(scene);
            primaryStage.show();
    
        }
    }
    
  • I've created a form that uses the value field text to fill the text of another field.  Does not take into account changes

    I've created a form that uses the value field text to fill the text of another field.  However, if I need to change the text, the second field does not update this change.  Instead of reset the form each time, is the Javascript code to update the fields if they have been modified?

    For example I Text1 and Text2.

    When I type in Hello in Text1 I see Hello in Text2.

    Later, if I decide to change to Goodbye Text1, Text2 remains Hello.

    The shape of the hoe can recognize this change?

    Thank you

    Edit: I think I have misunderstood the situation.

    If you want to both fields have the same value, just to give them the same name.

  • Cannot use disk, error: Disc Copier could not find a CD-ROM drive supported. You will not be able to make copies of the disc to another.

    Original title: follow question Winsows XP repair

    I get following messages is displayed when I try to use disk functions.  #1 API can not see all CD ROMS in the system, please check to see if they are properly plugged...

    #2 disc copy could not find a CD-ROM drive supported.  You will not be able to make copies of the disc to another.

    Should I take the modem to a computer repair shop to get this repaired?

    Hello

    I suggest to refer to the procedure described in the following article and check the status of the issue.

    Error messages occur when you run Easy CD Creator in Windows XP.

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

  • How do you change your bc intial model selection under options the site after clicking on finish

    How do you change your bc intial model selection under options the site after clicking on finish

    You can't do that. BC is not a system of theming like Wordpress or Joomla. The model is fixed and models of switching at this stage is not an easy feat.

  • I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. How can I fix?

    I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. Can I fix?

    I am fairly new to this, but I think it has to do with the way you have drop them downs named. Copy you a then keep stick in each area? If so, that's the problem. You must rename each with a different number: Dropdown1, Dropdown2, etc. I think this might solve the problem.

  • How do you use the JS to open a file dialog box

    If you use this to open a dialog box to select a file:

    File.openDialog ("Select your XML file", "*.xml")

    How you open a dialog box to select a folder.  I think it would be something like

    Folder.openDialog

    but alas, it isn't, and I can't find any reference on how to do this anywhere.  We know?

    Thank you

    I found it after I posted this.  He replied in this thread

    But if you don't get there, it's long and short of it...

    It is not Open.   It's openDlg (intuitive how)

    var myDefault is new folder ("U:/xxx/zzz');.

    myFiles = myDefault.openDlg var ( string, string + model, multiple selection filter quick bollean);

Maybe you are looking for

  • Firefox desktop icon disappeared, but I still installed firefox

    How can I get the icon of firefox on my computer? When I updated to firefox, it put a square on my computer icon and I want the original icon. I deleted the square icon. What should I do to get this back? And, my firefox have not improved in ubuntu,

  • Why my digital touch is not to my wife watch?

    My wife Gets the hand that I send him.  But I can receive his without problem? My son and daughter in law both get my keys.  Not sure why it isn't? Even though I've updated my watch and my touch hers never happen on his watch.  She is able to receive

  • Revocation of certificate security question

    I left my computer on overnight, but browsers have been closed.  When I turned on my monitor today, there was a box to alert security with this formulation: The revocation information of the certificate for this site are not available.Do you want?NO

  • My CD / DVD divers are not installed. Help!

    03/30/10, I get a full recovery from this computer HP Pavilion 32-bit Windows to the factory settings. Miss me my DVD / CD drivers and they are available to be downloaded by HP. How to make a comeback? I am suppost to have supermulti 8 x DVD + R/RW w

  • BlackBerry Z10 Z10 - deleted messages take a long time to come to terms with Outlook

    Hi all I have a client who uses a Z10 with a BES10 server that integrates with Exchange and AD. He says that when he removes the emails from the phone, you more than fifteen minutes for the changes it appears in Outlook. Is there some sort of setting