Assigning Actions to Radio Button Widget

I'd like to be able to use the radio button widget as a way to jump to slides. I created a variable for each option (assigning a value of 1 to each) and tied it to an advanced action I've attempted to create. I then added a button that executes that advanced option once the radio button is selected. It doesn't seem to be working.
Does anyone know how to do this, by chance?
My advanced action script looks like this:
Check if [var1 is equal to 1]
begin
Jump to slide Slide 4
end
Or Else
begin
end
Check if [var 2 is equal to 1]
begin
Jump to slide Slide 5
begin
end
Etc, etc.

Hi,
Only one variable is sufficient to acheive this.I tried the following steps and it worked.
1. Create a variable say var1
2. Create advanced actions
Check if [var1 is equal to 1]
begin
Jump to slide Slide 4
end
Or Else
begin
end
Check if [var1  is equal to 2]
begin
Jump to slide Slide 5
begin
end
3. Insert the Radio Button widget
4. In Widget Parameters provide the comma seperated values like 1,2,3
5. Provide the variable name (var1)
6. Insert a button and call the above script.
thanks
ravi

Similar Messages

  • How do I make a Radio Button Widget Report to an LMS?

    Alright....still trying to solve my basic problem.....
    I can put in a radio button widget which looks great, but radio buttons do not report info to LMS.  THen I can use Ravvi's code style to set a variable based on which radio button was clicked and then take a specific action depending on the value.  The action I want is to send info to LMS.  How can I do this? 

    I may have, but I have run across many Survey forms that do exactly that.
    Some also have checkboxes as well and they are used for Check all that apply.
    For all I know they may be using JavaScript code for the buttons to react the way the do.
    I don't know if any of you are old enough to remember the old two button light switches. push one in and the others pop out. Push the other in and the first pops out.  That's the button action I see on many survey forms.
    I am not saying it correct. But if its not correct, how does one change their mind if the clicked the wrong choice?

  • Radio Button Widget Highlight Options

    In Captivate 5.5, is it possible for the standard radio button widget (RadioButtons.swf) to not have a highlight color behind the text? I just want a transparent background with text so the master slide background shows. Adjusting the Alpha Channel only effects the radio buttons themselves, not the highlight color.

    Hello and welcome to the forum,
    But I have bad news, having explored this widget a lot, and struggled with that 'highlight color' a lot. I try to put it on a uniform colored background and apply the background color as a Highlight. Didn't find another way.
    Perhaps a tip: do download the enhanced version of this widget, that allows you to control it more (variable can be changed by advanced actions and displayed). It was created by Jim Leichliter (CaptivatePro) and it is FREE:
    Radiobuttons Enhanced
    Lilybiri

  • Spry Radio Button widget for CS3

    Hi,
    I can't seem to find a definitive answer if the Spry Radio Button widget for CS3 is available or not. The help menu says that it's there, but I can't find it. I've updated my Spry and checked the web and can't find an answer. Can anyone help me out?
    Thanks!

    I can't remember that far back, but if you cannot find i, then you may be right; it's not there. CS5 has it located on the insert bar as follows
    but you can aslo go to the Insert Menu, Insert->Form->Spry Validation Radio Group.
    Cheers,
    Gramps

  • RAdio Button Widget

    Hi,
    Is there a radio button widget that validates?
    Thanks

    Hi,
    On the folder you downloaded from labs site, on the widgets
    folder, you should have the radiovalidation folder.
    In that folder there are one js and ine css file that you
    have to link in you page.
    Please look over the example page I send you to see exactly
    what you need to have the radio button functional.
    Diana

  • How to use Action with an Accelerator without assigning Action to a Button

    I have an Action
    I have set an Accelerator key to it.
    If I assign the Action to a MenuItem or other Button in my GUI all is well
    However I want the Accelerator to fire the Action when it isn't assigned to the button
    How do I do this, because it doesn't work?

    Use Key Bindings to invoke the Action directly:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html

  • Using Radio Buttons in widget to store Data

    I am building my 2nd widget and I am curious to know if anyone has used radio buttons within the edit mode to change/modify/set variables before. I don't want a radio button widget. I want a complex menu widget that will hide/show selected items within my playbar such as the forward button.
    Currently I am using User variables to determine all the hide/shows for my playbar. But I would like to make it more user friendly by having a visual widget people could use to turn buttons on off, set url's for help documents etc. And have everything be based on a per slide basis. just wondering if anyone has done anything like this in the past.
    The other part of this is, can I use a widget to construct User variables. In As2 I was able to create variables in root and then set those accordingly without having to add them to every projects user variables. But it appears in AS3 it is not possible to create a variable of a clip/objects parent is anyone familiar with this?
    Thanks ahead of time.
    zsrc

    Hi zsrc,
    If you're using WidgetFactory then here's a post that might give you the information that you need.
    http://www.infosemantics.com.au/widgetking/2010/11/widget-properties-how-theyre-used/
    As far as the code you'd write in your circumstance, a radio button's selected property tells you if it's... well... selected. So you can write that to a widget property like so:
    properties.MyPropertyName = myRadioButton.selected;
    That line would be inside the saveProperties template method as mentioned in the article above.
    override protected function saveProperties():void
        properties.MyPropertyName = myRadioButton.selected;
    Then you can read that property back when the widget is in the published Captivate movie.
    override protected function enterRuntime():void
       if (properties.MyPropertyName == true) {
          // The Radio Button was selected. Do stuff
       } else {
          // The Radio Button wasn't selected. Do stuff?

  • Dynamic-actions/expressions for Radio button in VC

    Hi,
    I would like to know whether dynamic actions for radio-buttons are possible in VC??
    I have a situation where, i have to display/hide an input-field according to the radio-button that i select.
    Is this possible in VC??
    Because, i do not find any place where i can write expressions for a radio-button so that it can take actions accordingly.

    Actually its possible.
    Here is the sample code for this.
    tables : kna1.
    parameters : chk1 radiobutton group g1 user-command abc,
                 chk2 radiobutton group g1.
    parameters : chk3 type kunnr.
    at selection-screen output.
    loop at screen.
      if chk1 = 'x' and screen-name = chk3.
          chk3-active = '0'.
      endif.
    endloop.
    In this way you can hide a input-field on the screen.

  • Adding function code dynamically for radio buttons

    Hi Experts,
             I have two  radio buttons in standard screen which when clicked my custom logic should be executed.
    The issue here is the standard screen radio button does not have a Fcode assigned in the field properties because of this no event is triggered when the radio button is selected.
    Thank You,
    Anupama.

    Hi anu,
         Try the following procedure,
    - Combine all the radio buttons into a group. T
    - Create a common function code for all the radio buttons. F
    - Assign all the radio buttons to the same modification group. F
    - Enclose all entire radio button in a frame. F
    Also check the website it help u as u need,
    [http://help.sap.com/saphelp_nw04/Helpdata/EN/3d/c3b23782a9cc68e10000009b38f8cf/content.htm]
    Hope it helps u....
    Regards,
    Annevit

  • Radio Buttons selection

    Hi to all,
    I am using 5 radio buttons.
    i did some fire partial action for radio buttons.(means call some procedures).
    My problem is
    i select the first radio button,suppose it throws some exception then radio button selection is goes to last radio button.
    but in my requirement when ever exception is raiise,that time first radio button is selected or all radio buttons are deselected.
    please give the suggestion.

    You have to do the following things:
    1. Attach a radio group to all these radio buttons.
    2. Give them all different names.
    3. And when one of the radio button is clicked, u need to set that VO attribute attachhed to radio button as "Y" and rest as N... then it works..
    CO -> PR
    OAMessageRadioButtonBean periodicRadioButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("PeriodicallyItem");
    periodicRadioButton.setName("FREQUENCY_GROUP");
    periodicRadioButton.setValue("PERIODIC");
    OAMessageRadioButtonBean specDaysRadioButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("SpecDaysItem");
    specDaysRadioButton.setName("FREQUENCY_GROUP");
    specDaysRadioButton.setValue("SPECIFIC_DAYS");
    OAMessageRadioButtonBean specWorkRadioButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("SpecWorkDaysItem");
    specWorkRadioButton.setName("FREQUENCY_GROUP");
    specWorkRadioButton.setValue("SPECIFIC_WORK");
    OAMessageRadioButtonBean specWeekRadioButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("SpecWeekDaysItem");
    specWeekRadioButton.setName("FREQUENCY_GROUP");
    specWeekRadioButton.setValue("SPECIFIC_WEEK");
    CO -> PFR
    String radioGroupValue = pageContext.getParameter("FREQUENCY_GROUP");
    if(eventName.equals("frequency"))
    am.invokeMethod("handleFreqSchEvent",paramList);
    AM
    if("PERIODIC".equals(freqValue))
    schFreqRow.setPeriodically("Y");
    schFreqRow.setSpecDays("N");
    schFreqRow.setSpecWorkDays("N");
    schFreqRow.setSpecWeekDays("N");
    else if("SPECIFIC_DAYS".equals(freqValue))
    schFreqRow.setPeriodically("N");
    schFreqRow.setSpecDays("Y");
    schFreqRow.setSpecWorkDays("N");
    schFreqRow.setSpecWeekDays("N");
    else if("SPECIFIC_WORK".equals(freqValue))
    schFreqRow.setPeriodically("N");
    schFreqRow.setSpecDays("N");
    schFreqRow.setSpecWorkDays("Y");
    schFreqRow.setSpecWeekDays("N");
    else if("SPECIFIC_WEEK".equals(freqValue))
    schFreqRow.setPeriodically("N");
    schFreqRow.setSpecDays("N");
    schFreqRow.setSpecWorkDays("N");
    schFreqRow.setSpecWeekDays("Y");
    Hope this helps..

  • Rating Radio Buttons

    I'm trying to take the value I've assigned to a radio button, add it to another value I set for another set of radio buttons, divide the total by the number of radio buttons actually selected to get an average for the group. Here's what I have, but it's not displaying any information.
    This is on the click event of a button:
    varcount = 0;
    varaddvalues = 0;
    if
       count
    (SectionAA1.rawValue != null || SectionAA1.rawValue != 0)= count++;= addvalues + SectionAA1.rawValue;
       addvalues
    if
       count
    (SectionAA2.rawValue != null || SectionAA2.rawValue != 0)= count++;= addvalues + SectionAA2.rawValue;
       addvalues
    if
       count
    (SectionAA3.rawValue != null || SectionAA3.rawValue != 0)= count++;= addvalues + SectionAA1.rawValue;= addvalues / count;
       addvalues
    SectionAValue.rawValue 
    What am I missing?

    In Acrobat hit he Ctrl-J key combination and the javascript console will come up (any errors in your script will be reported there).
    Paul

  • Andy's Region Blur - Hot key for "center" radio button???

    Hi... I am loving Andy's Region Blur! I have an ongoing project editing courtroom footage that requires concealing multiple identities. Andy's Region Blur is HUGE!!! Since I am using it extensively, i am trying to figure out how to assign the "center" radio button to a hot key on a FCP keyboard. Does anyone know if this is possible??? It's the little things that make the difference...

    I think you might have to ask Andy to tweak the FXscript to enable such a feature... not sure...

  • Is it possible to assign a value to a radio button or checkbox?

    I would like to assign radio buttons or checkboxes a value and then have the results of the buttons selected tabulated at the end of a form, if desired. Is that possible? Thanks

    Thanks for your reply and help. I appreciate it. I was able to get an export value added to the check box, but did not see and option for a radio button. But the check box works fine for now. Thanks again.

  • Help using a dynamic action to update tabular form items (specifically radio button) based on collection

    Hi Everyone, I have posted this question in the past and made huge progress with Denes Kubicek's help:  https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365::::: based on my earlier question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494
    I am struggling with one item in my tabular form.  It is a radio button.  The choices all appear properly, but the value is not saved in the collection (and hence, not saved in the table).  All other items in the tabular form save properly.
    here is what I have for the query.   It is item c024 (which maps to ;'f03'), which is defined as a radio LOV based on an existing LOV.
    Currently I have:
    2 page items:
    P110_ID
    P110_VALUE
    Dynamic action called CHANGE COLUMN:
    event: CHANGE
    selection type: jQUERY Selector
    jQuery:
    jQuery Select = input[name='f03'],select[name'f08'],select[name='f09'],input[name='f10'],input[name='f11'],input[name='f12'],select[name='f40'],input[name='f21'],input[name='f22'],input[name='f23'],input[name='f50']
    event scope: Dynamic
    true action#1: set value P110_ID javascript expression this.triggeringElement.id
    true action#2: set value P110_VALUE javascript expression this.triggeringElement.value
    true action#3: execute pl/sql code
    declare
      v_member number;
      v_seq number;
    begin
      v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
      safis_collections.update_column(v_seq,
                                    v_member,
                                    :p110_value);
    true ation#4 refresh region :LANDINGS_COLLECTION
    the tabular form is based on the query:
    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 hms_flag,
    decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
    decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
    decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
    decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    decode(c020,'Y',
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
    'N','N/A') HMS_AREA_CODE,
    c020,c050,
    decode(c020,'Y',
    apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
    'N','N/A') Sale_Price
    from apex_collections
    where collection_name = 'SPECIES_COLLECTION' order by seq_id
    I have noticed the following:
    when I change column C011 (price) the following values are set in the dynamic action:
    P110_ID = f11_1
    P110_VALUE = whatever I change the price to.
    when I change the column C024 (hms_flag), the following values are set:
    P110_ID = f03_0001
    P110_VALUE = whatever I change hms_flag to.
    the region is refreshed in my dynamic action, and the change for hms_flag does not hold.  I have tested the SQL query that generates the value for v_SEQ in the dynamic action.   In both a change to price and HMS_FLAG it appears valid
    select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
    if f11_1, v_seq:= 1
    if f03_0001, v_seq := 1
    thank you!

    solved.  sort of. 
    field c024 references f03.
    the Dynamic ACtion, step 4 calculates v_member by taking a substring of P110_ID...and in all other fields, the column and the field (fxx) are the same value....except for c024.
    I am not certain exactly how to resolve, but see the problem.

  • Disable only one radio button in a Radiogroup using Dynamic Actions.

    Hello everyone,
    I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit with Application Express 4.1.1.00.23
    I have a radio group which has 3 radio buttons. Now in certain situations I want only one of the radio buttons to be disabled.
    I don't want to resort to Javascript for this as that would mean another piece of code that can go wrong and introduce bugs.
    Is this possible using a Dynamic Action? Although DA is also JS, I feel its much easier to maintain.
    Regards,
    Arijit

    I know, you did ask for DA
    Try to put this code in DA and run this code on page load
    =-==========================================
    var pOption = 3;
    var nameArray = $('input[name=p_v01]').map(function(){
                        return this.getAttribute('value');
                    }).get();
    for (i=0;i<nameArray.length;i++){
        if(pOption == nameArray[i]){           
            $("#P2_CHECK1_"+i).attr("disabled", true);
    ==========================================
    Plain Javascript
    <script type ="text/javascript">
    function disableCheckBox(pOption){
        var nameArray = $('input[name=p_v01]').map(function(){
                            return this.getAttribute('value');
                        }).get();
        for (i=0;i<nameArray.length;i++){
            if(pOption == nameArray[i]){           
                $("#P2_CHECK1_"+i).attr("disabled", true);
    $(document).ready(function(){
        var chkOption = 3;
        disableCheckBox(chkOption);
    </script>
    Thanks,
    Ramesh P.

Maybe you are looking for

  • Report for extracting the actual and planned cost from service orders

    HI all we are creating a report in BI for Module - Customer service . LIke , the report is all about how many complaints created in the system and how many completed technically and what is the cost involved for each complaint . Like we want the comp

  • Can I automate the creation of a cluster in LabView using the data structure created in an autogenerated .CSV, C header, or XML file?

    Can I automate the creation of a cluster in LabView using the data structure created in an auto generated .CSV, C header, or XML file?  I'm trying to take the data structure defined in one or more of those files listed and have LabView automatically

  • Can't copy files to external HD on lion...

    hello what's up with lion?? i have 2TB external HD from WD my HD work great on SL but now when i'm on lion it try to copy file from my mac to the HD i ear the copy noise that the file as been copy but the file wont show on the external HD i try this

  • Acrobat 3D and Windows 2000

    Everyone that has the Windows 2000 operating system has problems with the Acrobat 3D models. The models were created using Windows XP and were tested using Windows XP. I am assuming that Acrobat 3D and Windows 2000 are incompatible. Adobe states Wind

  • Adding a second screen

    Hi Is there any way to add a second screen to my G4 imac, to use for displaying palettes etc. from design programs, leaving my main screen as my workspace? Cheers KM