Small problem with radio buttons

The form I designed is all complete, but the only question that I have is there is a list of radio button that gives me bad.  The list of radio button controls the presence of a section based on Yes or no.  After the selection is made, it works very well, but when the document is saved and reopened again as well the button Yes and radio are selected.  How can I fix?  Please help, thanks.

Sorry, I don't understand - Group exclusion "drop-down.

When you click on the exclusion of radio button group, is that the object > liaison palette should look like:

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Problem with radio buttons does not

    Hi, I just modified someone code a bit because instead of wanting a drop down menu, I wanted to use radio buttons.

    Unfortunately, the structure of the event does not appear as radio buttons, but I do not know why... Just, right now the VI runs and stays with the same "camera name" all the time. I will attach the VI in order to get an idea of what I'm talking about.

    This is because you have the event set up to capture the change in value for the camera name.  Try to create a Radio button value change event.

    Lynn

  • Small problem with a button

    I have a button set up to change the language of a text block when it's pushed-it works very well, and the text is changed, and the button another appearing in its place which should return the original language, but when I try to click that one, it doesn't.  I use the alpha settings to switch between the buttons/text.  Any ideas?

    Here's what I have:

    button_6.addEventListener (MouseEvent.CLICK, fl_MouseClickHandler);

    function fl_MouseClickHandler(event:MouseEvent):void
    {
    movieClip_4.alpha = 1
    movieClip_2.alpha = 0
    button_6.Alpha = 0
    button_3.Alpha = 1
    }

    button_3.addEventListener (MouseEvent.CLICK, fl_MouseClickHandler_2);

    function fl_MouseClickHandler_2(event:MouseEvent):void
    {
    movieClip_4.alpha = 0
    movieClip_2.alpha = 1
    button_6.Alpha = 1
    button_3.Alpha = 0
    }

    [button_3 does not work]

    Thank you very much for any help!

    I think you have your stacked buttons in addition to the other one. If this is the case, setting the alpha property to false/0 will not get rid of the above button, and it blocks the button located below. To make it simple, use the property visible (setting to true or false), and allows you to click on the button below.

    button_6.visible = false;
    button_3.Visible = true;

    .. .and a vice versa for the other button

    Gererally, it is preferable to use the visible property when you're totally rejecting the Visual presence of something, rather than using alpha (because of problems llike these).

  • Dialogue with radio buttons

    Honourable experts,

    I'm on Win7 64 bit, CS6 (ID 8.1.0.420).

    Script of skills - somewhere in the "Very basic" level

    Now try to adopt, my needs, a dialog box with radio buttons, as in Script UI v2-2 Peter Kahrel, pdf, page 17:

    var w = new Window ("dialog");
    var radio_group = w.add ("panel");
    radio_group.alignChildren = "left";
    radio_group.add ("radiobutton", undefined, "InDesign");
    radio_group.add ("radiobutton", undefined, "PDF");
    radio_group.add ("radiobutton", undefined, "IDML");
    radio_group.add ("radiobutton", undefined, "Text");
    w.add ("button", undefined, "OK");
    // set dialog defaults
    radio_group.children[0].value = true;
    function selected_rbutton (rbuttons)
    {
    for (var i = 0; i < rbuttons.children.length; i++)
    if (rbuttons.children[i].value == true)
    return rbuttons.children[i].text;
    }
    if (w.show () == 1)
    alert ("You picked " + selected_rbutton (radio_group))
    

    My version is designed for operation on the text selected (with the text tool). And here's the problem.

    After selecting the text with Ctrl + A, or shift + end or Ctrl + Shift + end - then - hit KB shortcut assigned to the script I usually 'loose' the mouse pointer. It is still there, but turns out is invisible on the entire InDesign window. "Usually" means approximately 5-6, 10 times... Who escapes from the script window and still hit the shortcut script works - next try mouse pointer remains visible. Until you select another part of the text...

    If the text has been selected with the mouse - or - script is invoked by double-clicking its name in the actions palette, everything goes well, always. Also works well with other types of selection.

    Changing shortcut KB has no effect.

    Replace a mouse has no effect. Microsoft (wired) and mouse optical Logitech (wireless) tested.

    However:

    on a system that is completely up-to-date (Windows 10 Pro N, 1511 version, build 10586,63 x 64 / InDesign CC 2015.2, to build a 11.2.0.100 x 64) it works - there is no mouse pointer disappears.

    Have not the opportunity to test on any other configuration now.

    Could someone confirm this mouse related volatility on Win7/CS6, or is it quite unique in my system?

    And another question:

    Is it possible to activate here cycling through radio buttons to arrow keys, as he works in the script of this Marc Autret?

    http://www.Indiscripts.com/post/2009/09/clean-up-your-pasteboard

    He would let me live with the 1st problem unsolved... Anyway, the keyboard-based workflow is preferable.

    Behold, this is my version changed so far. However, it comes in the same way as described above.

    w=new Window("dialog", "Code");
    radio=w.add("panel", undefined, "Choose Action");
    w.alignChildren="fill";
    radio.optionbtns=radio.add("group");
    radio.optionbtns.orientation="column";
    option1=w.add("radiobutton", undefined, "Action One");
    option2=w.add("radiobutton", undefined, "Action Two");
    option3=w.add("radiobutton", undefined, "Action Three");
    option4=w.add("radiobutton", undefined, "Action Four");
    option1.value = true;
    w.add ("button", undefined, "OK");
                if (w.show() == 1){  
         if (option1.value == true)  
         {alert("Action One!"); exit();};
         if (option2.value == true)  
         {alert("Action Two!"); exit();};
         if (option3.value == true)  
         {alert("Action Three!"); exit();};
          if (option4.value == true)  
         {alert("Action Four!"); exit();};  
        }
    {  
        exit();  
        };
    

    Your comments are greatly appreciated.

    Except the upgrade - this isn't an option so far, sorry, Adobe...

    Hello

    small changes, try this:

    var
      w=new Window("dialog", "Code"),
      radio=w.add("panel", undefined, "Choose Action"),
      option1=radio.add("radiobutton", undefined, "Action One"),
      option2=radio.add("radiobutton", undefined, "Action Two"),
      option3=radio.add("radiobutton", undefined, "Action Three"),
      option4=radio.add("radiobutton", undefined, "Action Four");  
    
    w.add ("button", undefined, "OK"); 
    
    option1.value = true;
    radio.alignChildren="left";
    radio.margins = [10,20,10,10];
    
    function handle_key (key)
    {
      var
      scope = radio.children.length,
      p, newPos, step;
      switch (key.keyName)
      {
      case "Up": step = -1; break;
      case "Down": step = 1; break;
      default : return;
      }
      for (p = 0; p < scope; p++)
      if (radio.children[p].value) {
      newPos = p + step;
      switch (newPos) {
      case scope: newPos = 0; break; // go to first
      case -1: newPos = scope - 1; // go to last
      }
      radio.children[newPos].value = true;
      break;
      }
      } // handle_key
    
    w.addEventListener ("keydown", function (k) {handle_key (k)});
    
    if (w.show() == 1){
         if (option1.value) alert("Action One!");
         if (option2.value) alert("Action Two!");
      if (option3.value) alert("Action Three!");
      if (option4.value) alert("Action Four!");
        }
    else {
        exit();
        };
    

    Can't help you with strange behavior mouse (no idea)

    Jarek

  • I want to build a form with radio buttons to customers limited checking all the options.

    I want to build a form with radio buttons to customers limited checking all the options. I have a range of products and to quote accurately, I want to get specific information.

    If I get this, what you want to display the shape options to specific customers, not to all the viewers of the site?

    You must create a secure area where authorized viewers can connect and view the form with all the options, form itself we can not set up since what few customers are going to see other options and others are going to see another.

    This is possible since the end of your accommodation. Or if you are using Adobe server for hosting, then you can create profiles for clients and then set up another form altogether to achieve this goal.

    Thank you

    Sanjit

  • Using switch and case with Radio buttons

    Can I use the case switch with radio buttons?

    What will be the parameter to determine the choice like xfa.event.newText is used for the drop-down list.

    Aditya

    Hi Aditya,

    Select the exclusion group in the hierarchy (you have no script each option button) and select the click event. The switch statement would use the this.rawValue.

    Hope that helps,

    Niall

  • Small problem with the events of the listener

    I have a small interface with 5 radio buttons and a buttonfield and when i click buttonfield I create an event. all this works fine, but when I want to go back to the previous page I see pop up with 3 had to 'save, ignore, reject' and when I click on one of them I create a duplicate of the trial before.

    How can I go to the previous page without showing the pop-up with 3 coiches and without creating duplicate event?

    It's the listener code

    FieldChangeListener listener = new FieldChangeListener() {}
          
    ' Public Sub fieldChanged (field field, int context) {}
     
    {if (delivery. IsSelected())}
                               
    Time zone tz = TimeZone.getTimeZone ("GMT"); We want the time gmt
    Calendar gc = Calendar.getInstance (tz);  It gives the time date and gmt
                     
    int ore = gc.get (Calendar.HOUR_OF_DAY);
    int min = gc.get (Calendar.MINUTE);
    s int = gc.get (Calendar.SECOND);
                     
    Co co = new coordinate (longitude, latitude, ore, min, sec, 9, "Delivered");
    CoorVect.addElement (co);
    Dialog.Inform ("send event");
                       
    } else {}
    {if (GuastoMeccanico.IsSelected ())}

    Time zone tz = TimeZone.getTimeZone ("GMT"); We want the time gmt
    Calendar gc = Calendar.getInstance (tz);  It gives the time date and gmt
                         
    int ore = gc.get (Calendar.HOUR_OF_DAY);
    int min = gc.get (Calendar.MINUTE);
    s int = gc.get (Calendar.SECOND);
                         
    Co co = new coordinate (longitude, latitude, ore, min, sec, 9, "Guasto Meccanico");
    CoorVect.addElement (co);
    Dialog.Inform ("send event");

    } else {}
    {if (IncidenteStradale.IsSelected ())}

    Time zone tz = TimeZone.getTimeZone ("GMT"); We want the time gmt
    Calendar gc = Calendar.getInstance (tz);  It gives the time date and gmt
                          
    int ore = gc.get (Calendar.HOUR_OF_DAY);
    int min = gc.get (Calendar.MINUTE);
    s int = gc.get (Calendar.SECOND);
                          
    Co co = new coordinate (longitude, latitude, ore, min, sec, 9, "Incident Stradale");
    CoorVect.addElement (co);
    Dialog.Inform ("send event");

    } else {}
    {if (LavoriInCorso.IsSelected ())}
                             
    Time zone tz = TimeZone.getTimeZone ("GMT"); We want the time gmt
    Calendar gc = Calendar.getInstance (tz);  It gives the time date and gmt
                           
    int ore = gc.get (Calendar.HOUR_OF_DAY);
    int min = gc.get (Calendar.MINUTE);
    s int = gc.get (Calendar.SECOND);
                           
    Co co = new coordinate (longitude, latitude, ore, min, sec, 9, "Works in Corso");
    CoorVect.addElement (co);
    Dialog.Inform ("send event");
    } else {}
    {if (SenzaConsegna.IsSelected ())}
                                          
    Time zone tz = TimeZone.getTimeZone ("GMT"); We want the time gmt
    Calendar gc = Calendar.getInstance (tz);  It gives the time date and gmt
                            
    int ore = gc.get (Calendar.HOUR_OF_DAY);
    int min = gc.get (Calendar.MINUTE);
    s int = gc.get (Calendar.SECOND);
                            
    Co co = new coordinate (longitude, latitude, ore, min, sec, 9, "Not delivered");
    CoorVect.addElement (co);
    Dialog.Inform ("send event");

    } else {}
    Dialog.Inform ("Nessun elemento indication!");
    }
    }
    }
    }
    }
    }
    };

    Added on-screen, this code will replace the popup screen.

    I don't understand the second part of the question, that is to say the second invent.  Add this code and make sure that the popup is removed and then tell us if all your problems are solved.

    Also search the doc for this method in the object Screen to understand how it works.

    /*
    * Override to ignore the save/discard/Cancel dialog box
    */
    public boolean onSavePrompt() {}
    Returns true;
    }

  • jdev11 - how the code filter additional liaison with radio buttons?

    Using JDev 11.1.1.0.2, ADF BC for model, ADF Faces JSF to view, deploy to WebLogic 10.3 appserver, database Oracle 11

    I asked for help (a do my work ask), that I'm the only developer JDev in our shop, and I looked at this problem too long and now have obscured the problem. I don't really want the answer (rather the skills needed to solve this problem), but it will ;-)

    Installation program:
    ExecwithParam base where the logic is stored in the AppModule. At this point, there is only a single binding TechID variable, which is passed to four of your different and updates the where clause and calls on each VO of the AppModule executeQuery. Works great so far!

    Need:
    Add additional time based filter: Group of buttons on the Radio for the last 30 days, 60 days, 90 days, choose a date. If choosing a date is sΘlectionnΘe, then the user selects a date with a date picker, and all records by this date are used.

    Support:
    There is a date variable in each query, and a common type of DATE filterDate may be added to each to filter with somedatefield > =: filterDate in each VO

    Thoughts:
    I like to break things in simple parts, so how about starting just the radio button.
    My thinking goes like this:
    Add another variable of filterDate liaison to each of your. Add this to the App Module.

    So, how can I set up a radio button so that I can get the value of the selected and then button that convert a SYSDATE - value and which use th e App Module logic? I continue to think of the big picture end of case and forget everthing. I know that's not difficult, but just ask me for some advice.

    At one point, I was thinking to add a clove of support to the option button, then wasn't sure if it was the best way and don't know how I would get the value in the AppModule. Part of the problem is that I came across a mental block. If I add the components that aren't linked data, as a selector of dates, or checkboxes, radio buttons, etc.. How can I get the values in the AppModule? I've seen many examples of data to related components, but do not know how to mix and match the binding with just a rich component controls base such as an input control. (This may better ask in a different thread).

    Finally, what of the big picture, the part about the addition of the datePicker - of ideas?

    Like cable TV, characters hosted - the kind that are related in my case the code! (Reference of American humor, must be familiar with USA cable TV channel (I'm addicted to the show House))

    Thank you, Ken

    Ken,

    A small correction to your last sentence - you don't want to refer to the support of the AM bean - you want to refer to the AM of the bean to support.

    If you want a very simple way: find the service for your AM method in the data control palette, drag-and - drop it on your page as a button JSPX. JDeveloper will automatically add a binding for the action in the pagedef. Then, double-click the button that results and create a new method of bean of support for her (in front of JDev, don't remember what we call the dialog box) - given the option, say JDev to put the code to link to you - then the resulting method should have the code that calls the method via the definition of the page. Simply add a bit of extra code to determine and set the date.

    John

  • The use of JavaScript with radio buttons selected to assign a variable a value

    Hey everyone, a little new in Java and try to create a form for my work to request leave.  My problem is that I'm trying to assign a variable a value if the user clicks on a radio button or another.  Currently, they are incompatible with the following information:

    Name: Radio

    ToolTip: choice

    Button Style: check

    Radio button choice: Yes (this is the value of exports, that I think that I'm not sure how to use it correctly)

    nor is checked by default, but if a box is checked, I would have a variable defined on the "Approved" text, and if the other radio button is checked I would define the variable contains "disapprove".

    Here is my code now and thanks in advance for all the help:

    var S_auth;

    function auth() {}

    If (Radio.value == 'Yes') {}

    var S_auth = "approved";

    }

    else {}

    var S_auth = 'denied ';

    }

    }

    var employees = this.getField("Emp_Name").value;

    Supervisor of var = this.getField("Supervisor").value;

    var Leave_Type = this.getField("Dropdown2").value;

    var cToAddr = [email protected];

    var cCCADDr = this.getField("Email").value;

    var cBenAddr = this.getField("Sup_Email").value; If (cBenAddr! = "") cCCADDr += ';' + cBenAddr;

    var cSubline = "Re: leave request form for" + "" + employee + ', ' + Leave_Type + ', Status: "+ S_auth;"

    cbody var is 'your request for leave was' + S_auth + 'by' + supervisor. \n' + 'save the attachment of e-mail for your records. \n » ;

    this.mailDoc({)

    bUI: true,

    cTo: cToAddr,.

    cCc: cCCAddr,.

    bassujetti: cSubLine,

    CMSG: cbody

    });

    I honestly just want to have the subject line and the body to be able to show approved or disapproved according to which radio button, the project manager chooses.

    Yes, your script is now correct and should work.

  • Small problem with the tween class?

    Hey everyone, I have a site that incorprerates several different interpolations, interpolation, running on a timer in the main movie(scrolling text), another developed with a button click (scrolling images) in a film that is loaded into the main movie. My problem is that tweens sometimes freeze, especially the scrolling text and from time to time, random images, interpolation of images scroll freezes. I should mention that I have several different EventListeners in the background to mouse clicks, and I have small (15 k) SWFs loaded into the film every 3.5 seconds. If anyone knows why the tweens freeze sometimes? could it have something to do with the loading and the EventListeners, or I have to live with?

    Thank you for reading and suggestions that you may have;


    The draft of the site is www.sunnysideosc.ca (select Gallery > pictures)

    Interpolations of freezing is usually caused by the instance of Tween getting the garbage collector. You must have the persistence of a reference to the Tween to prevent it of to GC would be. In other words, if you do this:

    new Tween(obj,'x',etc...)
    

    While Tween will get destroyed the tracks of time following GC. Instead, follow these steps:

    tween = new Tween(obj,'x',etc...)
    

    steerage "would be a property of the object in scope when the Tween is created.

    Also, you can create the Tween instance once at the beginning and assign to a property and use Tween.continueTo () to make the animations.

  • With Radio buttons set point values

    I have a radio button that will have either the value of 1 or 2.
    I have 2 items page, one is a selection list and the other a text field.

    What I have to do is, if the radio button value = 1, the select list must be set to 1 and the text field should be disabled.

    I can't disable the text field with no problem using

    [function NMTRadio (pThis) {}
    Test = pThis.value is '1'
    html_disableItems, 'PXX_PRICE');
    }
    ]
    [onChange = "javascript:NMTRadio (this);] »

    I can't change the value of the selection list. I've tried several things, but to no avail.

    See you soon

    Gus

    Gus,

    Try this:

    function NMTRadio(pThis) {
      if(pThis) {
        var lVal = $v(pThis);
        if(lVal == 1) {
          // If radio value is equal to 1...
          $s('P1_SELECT', 1);
          $x_disableItem('P1_TEXT', true);
        } else if (lVal == 2) {
          // What do you want to do when the radio is equal to 2...
    
        }
      }
    }
    

    Also, you don't need the "javascript:" prefix in the Manager of "onchange". This prefix is used only when JavaScript is called on a URL.

    It will be useful.

    Ant.

  • Problem with Radio App on my Journe touch

    Hello, once again...: D

    I have a problem with my app Radeo on my tablet, and I'm not able to fix it on my own...
    When choosing a radio station to listen to, I always find myself waiting for a few seconds for the station to load ("open..." next to the icon of the station at the bottom right of the screen), then get the same message "error"...

    I already updated the app from the online store, but nothing has changed...
    And I have this problem with all the simple radio stations that I choose...

    I tried searching the forums and google search, but I can't find any solution or even reports on the problem...

    So, is this just a problem of my tablet, or I'm not the only one?

    Thanks in advance!

    Hi christine

    A few months ago, I talked to the AEP from Toshiba on the availability of app touch trip and he told me that some of the travel apps will not work because the trip touch isn t no longer supported, I guess that the application of the radio no longer works because the server was closed and so the application can not find any radio station.

    What to say journey touch is an old device with archaic system that is Windows CE. There is not a lot of apps for this OS and I don't expect that applications Windows CE would be released in the future.

  • Satellite P300 - problems with the buttons of enlightenment

    First of all, I would like to apologize for my bad English, I'm French actually.

    Hi, I bought a laptop Satellite P300, a couple of days, and already I have a problem with tactile keys (one on top of the keyboard).

    Actually, the only one of the left, which is supposed to turn off the sound used to keep away the keys lights and Satellite logo. One day (and I don't know why), when I pressed her, she actually cut the sound. And now, the first two keys (mute and shortcut of windows media) do not work, but the other four (Media Player control).
    I tried Toshiba Assist, and the tool for the configuration of the pushbuttons (I don't know the English name of this tool) but I couldn't set the keys, they were not on the list "button name".

    So, does anyone have an idea how to solve this problem?

    I apologize again for my English.

    Hello

    I assume you are using Windows Vista because you bought the laptop a couple of days and so I think that you should try to reinstall the Toshiba value added Package. This package determines the buttons of the lighting that you mean and others (for example the FN keys too).

    The latest version, you can download the Toshiba site:
    http://EU.computers.Toshiba-Europe.com-online decision-making supported Downloads & => Download drivers

    1. download the latest PPV on the Toshiba site
    2. go in Control Panel > Add/Remove programs. Find the Toshiba value added package and remove it
    3. restart the laptop
    4. download and install CCleaner. This cool cleans up the registry of Windows and system files. He should find some registry keys of Toshiba you should remove with CCleaner.
    5 reboot the laptop
    6. install the PPV that you already downloaded
    7 restart once again

  • dv2120us problem with Quickplay buttons.

    Hi, I had a problem with my laptop. These are real (not the quickplay button) quickplay buttons but the game, mute, volume, keep buttons etc. to control themselves and increase the volume and mute itself randomly. I already uninstalled the driver of buttons quickplay but the volume and make everything always the same thing.

    Help, please! HP is certainly not helpful at all...

    You may have a hardware problem.

    However, before moving on to this conclusion, you try to reinstall the software of HP Quick Launch?

    If you have, it would be a hardware problem, try to reposition the ribbon cable, open Control Panel switch and re - adjust the ribbon cable.

    If you want to make yourself download HP Pavilion dv2000 Notebook PC Maintenance and Service of Guide

    You will find how to open the switch Board.

  • If the else with Radio button statement

    I try to make a PDF form for customers to order event services. I have a field I want to fill it with a number based on their choice of upgrade that is defined as radio buttons. If they choose option 1 or 2, the upgrade price is X. If they choose option 3 or 4, the upgrade price is Y. I want the text box to display X or Y depending on their choice. Or just 0 if they choose to not upgrade.

    JavaScript is quite far from my knowledge base, but I try to understand it anyway. Any help? What I have below (and everything else I've tried) does not work.

    If {(btn1.checked)

    162 = Event.Value;

    } Else if (btn2.checked) {}

    182 = Event.Value;

    } Else if (btn3.checked) {}

    162 = Event.Value;

    } Else if (btn4.checked) {}

    182 = Event.Value;

    }

    Then you can use something like this as a custom text field calculation script:

    Event.Value = "";

    var v = this.getField("menu").value;

    If (v == 'opt1': v == 'opt2') {}

    162 = Event.Value;

    } else if (v == 'opt3': v == 'opt4') {}

    182 = Event.Value;

    }

Maybe you are looking for