How to get the Radio button value after submit process

I have a button called (P8_DELETED_RECORD) that has 2 choices (Yes and no) and would like to have my "anonymous PL/SQL block" after presenting the process run logic differenct depending on whether Yes or no is selected.

How can I referecne the option button in the code, I tried several ways without having had no success.
I tried:
a. if: P8_DELETED_RECORD = "1" then
b. if: P8_DELETED_RECORD_0 then
b. if: P8_DELETED_RECORD_0 = 'Y' Then


Using Apex 3.2.
Thank you

Hello

Inside of your radio, what is your lov

STATIC2:Yes; 1, none; 0

in this more top of case, you can use the code below

If: P8_DELETED_RECORD = 1 then
---
end if

When the value of your lov return changes in 'yes' or 'y' depending on whether you have to change the condition

Thank you
Loga

Tags: Database

Similar Questions

  • How to get the RGB color values on the color picker component?

    How to get the RGB color values on the color picker component?

    trace (cp.selectedColor);

    Returns something like:

    16750950

    trace (key2cp.hexValue);

    Returns:

    ff9966

    I'm looking for RGB, for example, 0.5 0.5 0.5, corresponding to a gray color.

    Is there a chance that the RGB settings are hidden somewhere or is there a conversion function at least?

    Thank you.

    If key2cp.hexValue returns a string like 'abcdef', use:

    var s:String = key2cp.hexValue;

    var n: Number = Number("0x"+s);

    var r: Number = n > 16 & 0xff;
    var g:Number = n > 8 & 0xff;
    var b:Number = n & 0xff;

  • How to get the display of the radio button value

    Hi I have a situation where I need to display the value of the radio button, for example I store A value in db, but I view Active in my radio button how do I do

    my radio button is

    < af:selectOneRadio id = "sor3" layout = "horizontal".

    value = "#{pageFlowScope.InternalBean.Status} '"

    autoSubmit = 'true '.

    valueChangeListener = "#{RadiobuttonPopupBean.activationChangedListener}" >

    < af:selectItem label = 'Active' value = 'A' id = "si10" / >

    < af:selectItem label = 'Inactive' value = 'I' id = "si9" / >

    < / af:selectOneRadio >

    I have what it takes to display the value in the outputtext

    < af:outputText value = "reason: #{bindings." Reason.inputValue}"id ="ot9 ".

    partialTriggers = "d1" inlineStyle = "height: 100px;" / >

    am in jdeveloper 11.1.1.6.0

    I've updated the ticket to show how to do this. You can find the blog at http://wp.me/pcBZk-ye

    Please download the workspace updated using the link to the blog post.

    Timo

  • How to get the select button event Radio in my co

    Hello

    I want to get the the radio button selection event in my co, how do I get the event?

    Hello

    841475 wrote:
    I want to get the the radio button selection event in my co, how do I get the event?

    -There is no case of option button.
    -you need to explicitily set the event for the option button.

    Action: FirePaatialAction
    Event: RadioEvent

    -Discover the event in co by code below:

    If ("RadioEvent". Equals (PageContext.GetParameter (EVENT_PARAM)))
    {
    -In the case of a radio button. :))
    }

    Concerning
    Meher Irk

  • How to use the Radio button

    Hello

    In my form, I want the radio button.

    On the selection of this radio button user can change the status of "QC" for "STOCK".

    Initially, when he disabled status should be "QC".

    How to put this in my form guide me please.


    Maury

    Make a group of Radio (say RADIO_GROUP16) with 2 buttons radio (mean RADIO_BUTTON17 and RADIO_BUTTON18).

    Specify the initial value of Radio group to U
    Specify the value of Radio to R and U buttons

    and in the status field to write after outbreak.

    If: block. RADIO_GROUP16 = 'U' then
    message ("can not update status '");
    raise FORM_TRIGGER_FAILURE;
    end if;

    I guess that when you select the second radio button (with the 'R' value) then only you would be allowed to change the status.

    Please check the answer correct/useful if th answer was helpful

  • Get the "selected lines" value after sql custom query in the database adapter

    We execute a custom query in a database adapter. With other technologies (JDBC, etc.) the result of a query produces not only a game but the number of lines selected results. For example, the output of the script of Oracle SQL Developer will display something like:

    9999 selected lines

    at the end of the output of the script.

    I would like to obtain this value for a BPEL process. Of course, I could run a 2nd interview whose where clause is identical to the first, but select count (*) instead. However, it is not only ineffective but (in rare circumstances in an active database) could be the problem.

    It is not obvious to the novice BPEL how to get the selected value and the result set row in an Invoke. Is this possible?

    Maybe it's not the only solution - but this is how I did in the past.

    After step to invoke the adapter, use a step of the having-right/copy to fill a variable of integer type BPEL using the xpath count function...






    That should affect the number of records returned by the query.

    I hope this helps.

    Rod.

    Published by: Tunnels of Rod on December 15, 2009 13:16

  • How to get the ActiveX component value change event?

    Hi all

    LV 8.6.1

    I try to get the ActiveX component value change event. I covered forum and through examples, but I can't get an idea of how "Recalling vi. For example, in the example 'ActiveX event Callback for IE.vi' it is used "recall vi". I've added an example where the change event of value with the mouse to the bottom of the event are scheduled to the structure of the event. Mouse down event OK work but change the value no. Can anyone describe what I need to add to my example vi who value the change event works fine?

    BR, Jim

    Here is the solution! "Value changed event" is not performed in the structure of the event, but in "Reminder VI".

  • How to make the Radio buttons switch automatically?

    Hello

    I have this code, all I want to do is make each JRadioButton be verified every time that the expiry of the timer.
    can you please take a look at my actionPerformed and tell me what I'm missing?

    Thank you.
    package kash;
    
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.border.BevelBorder;
    import javax.swing.border.Border;
    import javax.swing.border.TitledBorder;
    import org.jvnet.substance.skin.SubstanceRavenLookAndFeel;
    
    public class ModulesInnerPanel extends JPanel implements ActionListener {
        
      protected ButtonGroup appChoserGroup;
      protected JRadioButton payRollRB;
      protected JRadioButton scRb;
      protected JRadioButton cashNbanksRb;
      protected JRadioButton outSourcingRB;
      private JButton enterButton;
      private Timer t;
      
      
        public ModulesInnerPanel() 
       {
         setLayout(null);
         setBackground(Color.RED);
         setOpaque(true);
         //BORDER
         Border bevel = BorderFactory.createBevelBorder(BevelBorder.RAISED);
         Border b = BorderFactory.createTitledBorder
                 (bevel, 
                  "User's Modules",
                 TitledBorder.DEFAULT_JUSTIFICATION,
                 TitledBorder.DEFAULT_POSITION,
                 new Font("Helvetica", Font.BOLD,  16),
                 Color.white);
         setBorder(b);
         //END BORDER
         
         //RADIO BUTTONS
         appChoserGroup = new ButtonGroup();
         
         payRollRB = new JRadioButton();
         payRollRB.setText("Payroll");
         payRollRB.setBackground(Color.DARK_GRAY);
         payRollRB.setForeground(Color.white);
         payRollRB.setSelected(true);
    
         scRb = new JRadioButton();
         scRb.setText("Stock control");
         scRb.setBackground(Color.DARK_GRAY);
         scRb.setForeground(Color.white);
    
         cashNbanksRb = new JRadioButton();
         cashNbanksRb.setText("Cash and Banks");
         cashNbanksRb.setBackground(Color.DARK_GRAY);
         cashNbanksRb.setForeground(Color.white);
    
         outSourcingRB = new JRadioButton();
         outSourcingRB.setText("Outsourcing");
         outSourcingRB.setBackground(Color.DARK_GRAY);
         outSourcingRB.setForeground(Color.white);
    
         enterButton = new JButton("Enter");
         enterButton.addActionListener(new ActionListener()
         {
             public void actionPerformed(ActionEvent e)
             {
                if (payRollRB.isSelected())
                {
                  JOptionPane.showMessageDialog(null,"Application under construction", "Info", JOptionPane.INFORMATION_MESSAGE);
                }
                else if (scRb.isSelected())
         JOptionPane.showMessageDialog(null,"Application under construction", "Info", JOptionPane.INFORMATION_MESSAGE);
                else if (cashNbanksRb.isSelected())
         JOptionPane.showMessageDialog(null,"Not available", "Info", JOptionPane.INFORMATION_MESSAGE);
             }
         });
    
         //adding Radio Buttons to the Radio Button group
         appChoserGroup.add(payRollRB);
         appChoserGroup.add(cashNbanksRb);
         appChoserGroup.add(scRb);
         appChoserGroup.add(outSourcingRB);
         //END RADIO BUTTONS
         
         //SETTING LAYOUT
         Dimension d1 = new Dimension();
         d1 = payRollRB.getPreferredSize();
         
          Dimension d2 = new Dimension();
          d2 = scRb.getPreferredSize();
          
          Dimension d3 = new Dimension();
          d3 = cashNbanksRb.getPreferredSize();
          
          Dimension d4 = new Dimension();
          d4 = outSourcingRB.getPreferredSize();
          
          Dimension d5 = new Dimension();
          d5 = enterButton.getPreferredSize();
          
         payRollRB.setBounds(20, 20, d1.width, d1.height);
         scRb.setBounds(20, 40, d2.width, d2.height);
         cashNbanksRb.setBounds(20 , 60, d3.width, d3.height);
         outSourcingRB.setBounds(20, 80, d4.width, d4.height);
         enterButton.setBounds(20, 150, d5.width, d5.height);
         //END SETTING LAYOUT
         
            //ADDING ITEMS TO THE PANEL
            add(payRollRB);
            add(scRb);
            add(cashNbanksRb);
            add(outSourcingRB);
            add(enterButton);
            
            t = new Timer(500,this);
            t.start();
       }
        
        public void actionPerformed(ActionEvent event)
        {
               
              if (payRollRB.isSelected())
              {
                
                scRb.setSelected(true);
              }
              
            if (scRb.isSelected())
            {
              cashNbanksRb.setSelected(true);
            }
              
            if (cashNbanksRb.isSelected())
            {
              outSourcingRB.setSelected(true);
            }
            
            if (outSourcingRB.isSelected())
            {
              payRollRB.setSelected(true);
             
            }
        } 
    }

    I want the option buttons to change the selection one after the other (...)

    Ok. So, use the block if/then/else, as suggested in my previous answer (I added that, in your NBS and it worked).

    When the user presses enter switching must stop and it should have control over the Group of radio buttons.

    Then, you should stop the timer in this button actionPerformed.

    Kind regards

    J.

  • How to get the current zoom value in the ID?

    Is there a way that can get the current zoom value in InDesign?

    ZoomValue.png

    Thank you very much.

    You could glance at the widget shown in your screenshot, at least when frame MDI (?) is displayed.

    The title of the window to kLayoutPresentationBoss, IID_IDOCUMENTPRESENTATION also reflects the value.

    Probably the best would be the kLayoutWidgetBoss, IID_IPANORAMA, GetXScaleFactor() - and GetYScaleFactor()!

    I'm just trying to imagine how a document would look like if these differ from each other ;-) and, better yet, how to achieve this objective in the user interface.

    BTW, only one notification is kDocWorkspaceBoss, Protocol IID_IWINDOW, order kUpdateDocumentUIStateCmdBoss.

    Another: there's a kDocWindowTitleModifyService...

    Edit: I note once again of course IID_IPANORAMA, observable of the subject kLayoutWidgetBoss.

    Dirk

  • How to intercept the radio button was selected and its data?

    Good day everyone,

    Need help on this one. This is my first post about components, specifically radio button.

    Here goes my problem, I have several groups of option button. And I want to follow the radio button on each group chose, and I'm going to get the data and pass it to a function loadVariablesNum.

    Thank you

    Any help is appreciated.

    You did not answer to my second question.  Is the button in the same timeline as the mc of content?  And now that you mention the function of the buttons, where you use this code of mine you said gives 'undefined '?

    It will be to your advantage to create a new file to resolve this problem when you have just a few radio buttons and another normal button that uses this code blue.  Once you have that working, you should be able to adapt more easily in your scenario.

  • check the radio button does not submit the form?

    Hello


    Your name:
    E-mail address:
    Contact no.:
    Topic:


    Message:




    Can not read the image? Click here to refresh

    I have a form on my site,

    and all his work.

    But I noticed that the information of the radio button

    is not sent?

    may an advise why?

    Also, can someone suggest how I can configure the name where the email?

    as when the email is downloaded, it come with my Web Host/Server name?

    Thank you

    < Center > < form name = 'contact' method = "POST" action = "form_process.php" >

    < table width = "306" border = "0" cellpadding = "0" cellspacing = "0" >

    < b >

    < td width = "93" height = "28" valign = "top" > your name: < table >

    < td width = "213" > < input name = "name" type = "text" >

    < table >

    < /tr >

    < b >

    < td height = "28" valign = "top" > Correo electronico: < table >

    < td > < input name = "email" type = "text" > < table >

    < /tr >

    < b >

    < td height = "28" valign = "top" > Contact No.: < table >

    < td > < input name = "contact" type = "text" size = "24" > < table >

    < /tr >

    < b >

    < td height = "85" valign = "top" > subject: < table >

    < td > < label > < input name = "category" type = "radio" value = "Appointment" / > appointment < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Schedule" / > opening hours < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Products" / > Products < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Other" / > other < / label > < table > < /tr >

    < td height = "28" valign = "top" > Message: < table >

    < td > < textarea name = "message" = "24" cols rows = "5" > < / textarea > < table >

    < /tr >

    < tr > < td > < table > < td height = "85" valign = "top" >

    < br / > < img src = "captcha_code_file.php? rand = <?" PHP echo rand();? ' > '.

    ID = "captchaimg" >

    < br / > < label for 'message' = > enter the above code here: < / label >

    < br / > < input id = "6_letters_code" name = "6_letters_code" type = "text" >

    < br / > < small > can not read the image? Click on < a href = "" javascript: refreshCaptcha(); "> here < /a > to update < / small >"

    < table > < /tr >

    < b >

    < td > < table >

    < br / > < td valign = "top" align = "center" > < input type = "submit" value = "Submit" name = "submit" > < table >

    < /tr >

    < /table >

    < / form > < / center > < br / > < table >

    OK - I see what is happening. The script that determines the content of captcha also sets the session variable. To read this variable on the processing page, you need to enable sessions there too. -Change

    If (isset($_POST['submit']))

    on this subject.

    {if (! isset($_SESSION))}

    session_start();

    }

    If (isset($_POST['submit']))

    If there is an error of Captcha, you will also need to print that the visitor sees an indication that they do not have this right. There are several ways to do it, but probably the easiest is just to send them to the test to white form with an error message, so change that-

    Header ('Location: thank_you.html "");

    }

    on this subject.

    Header ('Location: thank_you.html "");

    } else {header('Location:captcha_error.html') ;}

    then create the captcha_error.html page that explains what that went wrong, with a link to the page of the form.

    See if that helps.

  • To access the Radio button values

    I have such a problem to the value of the option button selected in a group. Help!

    I put 5 radio buttons on the stage and gave them all the 'Question1' groupName in the components Inspector. They each have their own names for the instance and value which is also defined in the components Inspector.

    When I go to access the Group (via test movie) and check the value that is selected, I get this error:

    "Access of undefined property Question1.

    Here is the code I use:

    var Radio1:String = new String();
    Radio1 = Question1.selection.value;

    SubmitBtn.addEventListener (MouseEvent.CLICK, clickHandler);

    function clickHandler(eventObj:MouseEvent):void {}
    trace ("clicked");
    trace (Radio1);
    }

    Other problems that I have with this code is the flash player does not believe the value of the object of the radio is a channel... so what is the data type of the property value?

    Struggeling powerfully,

    -Sage

    I edited this post and the line that has been fixed:

    trace (rbObject)

    which should have been

    trace (rbObject ())

    retry code.

  • How to get the share button

    I had to reboot firefox and lost all the buttons on my part. How can I get them back or where can I find them and bring them to pin on the page?

    The share button may have been an add on or an api social media that is no longer used. However, if you add ons see page ' topic: addons "to see if there are people who have disabled. Or if there is another profileusing multiple profiles

  • How to disable the radio button to the page

    Hi all
    We have a requirement to disable or hide a button on the standard page Noritifacation reassign in R12.
    The page is/oracle/apps/fnd/wf/worklist/webui/NotifReassignPG.
    When I went to 'Customize Page', I see a "messageComponentLayout", when I put the property "Rendering" to "false".
    He hides the complete available, but I want to just hide only a single radio button in this provision.
    Can someone please?

    Thank you
    Dilip

    Dilip salvation,

    When you click on the link of customization on the OPS page, you can click on full view to display all possible customizations
    This can be done.

    Expand the full view and see if you can find the option button that you want to hide.

    If you are not able to find it, then you can try using controller extension (extension of CO)

    Enter the bean of your controller class processRequest() radio button and hide.

    The extension of controller code-sharing:

    {
    OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean) webBean.findChildRecursive ("RadioBttn1"); RadioBttn1 is the ID of RadioButton
    testButton .setDisabled (true);

    }

    Kind regards
    Had

  • How to get the exact measurement values.

    Hi scripters,.

    I want to get the exact values, indicated in the control panel. Please see the screenshots below.

    1.png

    I wrote the JS code is here. But I don't need values accurate Panel disclosed the clichés above.

     var myImages = app.activeDocument.links;
    for(i = myImages.length-1; i >= 0 ; i--){
        var myImage = myImages[i];
        myImage.show();
        alert(String(myImage.parent.itemLink.parent.geometricBounds[3]-myImage.parent.itemLink.parent.geometricBounds[1]) + " × " + String(myImage.parent.itemLink.parent.geometricBounds[2]-myImage.parent.itemLink.parent.geometricBounds[0]));
        }
    

    THX,

    csm_phil

    There are 12 points in a pica.

    Must divide the 12 points and fired the modulo of the 12 on that:

    function getPicas(points){
        return "" + Math.floor(points/12) + "p" + points%12;
    }
    alert(getPicas(504));
    alert(getPicas(104.16));
    

Maybe you are looking for