Set of Radio Buttons in a page

Hi,
I am new to OAF. My use case is to create a page with set of 'Yes/No' questionnaires. So, there will be set of radio buttons associated with each questions.
Please guide me to achieve this in OAF.

Hi,
You can create the radio button in processRequest by using (OAMessageRadioButtonBean)webBean.createbean()
Also, check if this link can help u : http://oracleanil.blogspot.in/2009/04/radio-group-event.html
--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to create a radio button on OA Page using Personalization

    I am trying to create a radio button on OA Page using Personalization. The item style , I can see is Message Radio Group.
    How to create Message Radio Button and bring them under one group.
    Thanks

    You should use jdev to define a radiogroup and radio buttons under that, wrap that definition inside a stackLayout in jdev, use personalization to add a stackLayout and extend the region which you had created earlier in jdev.

  • Disable a set of radio buttons

    Hello Experts,
    I have written a code in which there are two set of radio buttons.
    In first set there are three radio buttons.
    p_range    RADIOBUTTON GROUP rbg DEFAULT 'X',
    p_date      RADIOBUTTON GROUP rbg,
    p_comp     RADIOBUTTON GROUP rbg.
    In second set there are 10 radio buttons.
    I need to write a code in a way that if user selects the third radio button from first set p_comp, then few of the radio buttons from the second set should grey out.
    Please help me with some sample code.
    Would definately reward if the code is useful.

    Alternatively you can also use MODIF ID's for the radio buttons to do the same.
    You can get the syntax on the F1 help...
    Cheers,
    Tatvagna.
    Eg.
    p_1 RADIOBUTTON GROUP rb2 DEFAULT 'X' modif id r1,
    p_2 RADIOBUTTON GROUP rb2 modif id r1,
    p_3 RADIOBUTTON GROUP rb2 modif id r1,
    p_4 RADIOBUTTON GROUP rb2 modif id r3,
    p_5 RADIOBUTTON GROUP rb2 modif id r1,
    p_6 RADIOBUTTON GROUP rb2 modif id r1,
    p_7 RADIOBUTTON GROUP rb2 modif id r2,
    p_8 RADIOBUTTON GROUP rb2 modif id r2,
    p_9 RADIOBUTTON GROUP rb2 modif id r2,
    p_10 RADIOBUTTON GROUP rb2 modif id r1.
    And then do
    Loop at screen.
           IF screen-group1 IS NOT INITIAL AND
            NOT  screen-group1 EQ 'R1' .
              screen-active = '0'.
              MODIFY SCREEN.
           ENDIF.
    endloop.

  • 2 sets of Radio Buttons in a Form-complications

    Hello everyone,
    I have been looking around for code to assist me in building a form. I have developed the form, and just have a couple problems that I can't figure out.
    In one question on the form the user can choose from one set of radio buttons and select one of the five options. Then I have a second set of radio buttons, that the user can again only choose one option. My problem is that I only want the user to be able to select from the second set of radio buttons if they selected a certain option in the first set. An example to clear up my problem:
    Did you finish the training:
    Yes
    Half
    None
    So if the user selected yes from the first set of radio buttons, I want the second set of radio buttons to now be selectable:
    The training was:
    Up-beat and enjoyable
    Snoozer
    The conditions that I am using are very different than these but this is just a simple skit. So how do I make the second set of radio buttons unselectable until the user selects a specific radio button from the first set of radio buttons.
    Thanks, I really appreciate the help!

    If you have a radio button exclusion group called 'completion' with three items 'Yes','Half', and 'None' and a second radio button exclusion group called 'completion', go to the 'feedback' Value tab and set the type to 'readOnly'.
    Add the following script to the 'completion' change event...
    // form1.page1.subform1.completion::change - (JavaScript, client)
    if (this.rawValue == "Yes") {
      form1.page1.subform1.feedback.access = "";
    else {
      form1.page1.subform1.feedback.access = "readOnly";
      form1.page1.subform1.feedback.rawValue = "";
    If the user selects 'Yes', the 'feedback' group is available for selection. If the user does not select 'Yes', 'feedback' is reset and made readOnly.
    Steve

  • Sets of Radio buttons all grouped together

    I am creating a form with many sets of radio buttons. Each set contains 3 buttons. When I add the 4th button, Designer groups it with the first three. When I add a 5th button, it is automatically grouped with the first 4. I need to separate the buttons into groups of 3. How do I manually choose which radio buttons to group together?
    Eric

    Doing this is little tricky... Add all your radio buttons and then choose all the ones you want to group in a different set holding Ctrl key. And then click your mouse button (right). Then choose 'Wrap in New Radio Button Group'.
    Good luck,
    SekharN.

  • Using a dropdown to set a radio button

    I've been searching and searching in vain, trying many different things can I cannot seem to find an answer already or stumble on similar code to help.
    I've got a dropdown, then when you select different values set different fields on the form. That part works fine stuff like this in the custom validate:
    if (event.value == "Thing1") {
      this.getField("DESC01").value = "Words that fill in a desciption box.";
      this.getField("DESC02").value = "More words that fill in another descrption box";
      this.getField("F_SKILL1").value = "1";
      this.getField("RB_SKILL1").isBoxChecked(1);
      this.getField("F_SKILL2").value = "1";
      this.getField("F_SKILL3").value = "1";
    } else if (event.value == "Thing2") {
      this.getField("DESC01").value = "Different words that fill in a desciption box.";
      this.getField("DESC02").value = "More different words that fill in another descrption box";
      this.getField("F_SKILL4").value = "1";
      this.getField("RB_SKILL1").isBoxChecked(0);
      this.getField("F_SKILL5").value = "1";
      this.getField("F_SKILL6").value = "1";
    etc, etc. I've got a few different else ifs but they all follow this kind of format. There is are also radio button next to the skills on the sheet to visually display that skill is known. So I'd like to turn that radio button on. My isBoxChecked isn't working, and I expect that's because it doesn't work that way. I have a lot of radio buttons on the form, but they all have 1 choice in them none are groups. Again, I'm using this as a visual display that SKILLX is known. The area I've dropped the radio button onto the sheet is a very small circle which is why I am trying to use a radio button as it's visually similar.
    If there is a better solution to what I'm trying to do I'm happy to try that, or if someone can tell me what I'm doing wrong that'd be super
    Thanks!

    Not quite sure I'm getting what you are laying down...
    So in the dropbox, under options I should set the export value of Thing1 choice to RB_SKILL1 and then in my validate I should include this.getField("RB_SKILL1").value = 'Yes' ?
    Or I should just set the export value of Thing1 to this.getField?
    Thanks
    Oh, using a check box I was able to get this working using the export values set for Thing1 option, most excellent! Thank you very much!

  • How can I set a radio button to a be checked using an action script?

    Acobat X: I have two radio buttons called EnrollmentType with different values. "New Student" and "Returning Student". I need to set 160 forms to returning student, Please
    will this work?
    getField("EnrollmentType").value = "Returning Student"

    This is Adobe X Pro:
    Ok when I click the properties of the radio button. Both have the same
    "Enrollment type".
    But each has a different "Radio Button Choice" under the  Options TAB.
    It does work when I process the forms and save the data.
    The field "Enrollment type" contains either "New Student" or "Returning
    Student" depending on which option they picked.
    I am sending these forms back to the parents to edit any new/changed info
    and want it to have "Returning Student" checked since they are in fact
    returning and not new anymore.

  • Setting a Radio Button value using Javascript

    After much research, I've figured out that the appropriate command to get the value of a Radio Button in APEX JavaScript is "html_RadioValue", but I haven't been able to figure out a command that will let you set the value of the Radio Button. Is there documentation on APEX's use of JavaScript that covers this issue?
    Here's a simplified version of the script:
    <script language="JavaScript" type="text/javascript">
    function showval()
    var item1 = html_RadioValue('P19_RADIO');
    alert(item1);
    //Reverse the current selection
    if (item1 == 'Y') then
    <mystery_statement> //set P19_RADIO to N.
    else
    <mystery_statement> //set P19_RADIO to Y.
    </script>
    I've tried the following, but none of them have worked:
    - document.getElementById("P19_RADIO").value = 'N';
    - document.getElementById("P19_RADIO").checked = 'N';
    - $x('P19_RADIO').value = 'N';
    - $x('P19_RADIO').checked = 'N';
    Thanks.

    Okay, that worked in the Oracle-hosted environment, but not in my development environment. Looking at the view/source output from each, it seems that the versions of APEX are different - my environment is using version 3.0.1.00.07.
    The most obvious difference between the sources is the javascript includes at the top:
    <script src="/i/javascript/apex_ns_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_get_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_builder.js" type="text/javascript"></script>
    vs.
    <script src="/i301/javascript/htmldb_html_elements.js" type="text/javascript"></script>
    <script src="/i301/javascript/htmldb_get.js" type="text/javascript"></script>
    My fundamental question is: how does one learn Javascript, in the context of APEX? I can't find any documentation that explains what $v means, or what $x means, or what $s means.
    Thanks.

  • How do I move a table with radio buttons to another page?

    I created a document in Word, converted to PDF, added a page (which was created in Adobe Forms Central, only way to get a table with radio buttons - see below for example).
    The issue I have is whilst using the Trial of Adobe XI Pro I was able to move this table up a page and place it under the header.  Now that the trial has run out I cannot complete this task with other documents.
    I started to edit using LiveCycle but it won't let me move the table.
    We have Acrobat X Pro but when I go to edit, it directs me to edit in LiveCycle.  I have tried moving the table using all of these programs.  Can anyone help/guide please? 

    Thank you for your reply.  I am new to editing a pdf and using these programs. I have subscribed to Acrobat XI Pro.  When I try to edit the document it directs me to LiveCycle.  I cannot move the table in LiveCycle.  It won't let me, and I cannot make changes in XI Pro as I did in the trial as it directs me to edit in LiveCycle.  Am going in circles.

  • How to set a radio button to be selected?

    I'm trying to find out how to do something that should be seemingly simple. That is to create a little function that selects a random radio button as selected. I have 3 radio buttons in a group (see code):
    </mx:ApplicationControlBar>
    <mx:RadioButtonGroup id="radiogroupZ"/>
    <mx:RadioButton x="10" y="608" label="Button 1" groupName="radiogroupZ"/>
    <mx:RadioButton x="10" y="634" label="Button 2" groupName="radiogroupZ"/>
    <mx:RadioButton x="10" y="660" label="Button 3" groupName="radiogroupZ"/>
    I've tried all kinds of code to try to set Button 1, 2 or 3 as selected but the compiler keeps giving me errors.
    Can someone give me an example of a simple function that will set one of these as highlighted? All I need is the code that basically says for example: "Select Button 1 in the group "radiogroupZ to be selected".
    Thanks

    // This will have the first button selected.
    <mx:RadioButtonGroupd id="radiogroupZ" selectedValue="somethingHere1"/>
    <mx:RadioButton x="10" y="608" label="Button 1" value="somethingHere1" groupName="radioGroupZ"/>
    <mx:RadioButton x="10" y="608" label="Button 1" value="somethingHere2" groupName="radioGroupZ"/>
    <mx:RadioButton x="10" y="608" label="Button 1" value="somethingHere3" groupName="radioGroupZ"/>
    // To select something in a function
    private function functionName():void
         radiogroupZ.selectedValue = "somethingHere1";

  • Missing radio buttons on web pages, solution: remove Silverlight plug-in

    Missing radio buttons.
    When trying to use a page with radio buttons..they were not appearing.
    Cause: Microsoft Silverlight plug-in that was installed along with free Flip4Mac software.
    Solution: Remove file 'Silverlight.plugin' from /Library/Internet Plug-ins
    (Also, the plug-in was taking over display of Quicktime movies replacing Quicktime's controls.)

    Above is a solution to help others with same problem due to Microsoft Silverlight plug-in.

  • How to set / reset radio buttons in screen..

    hi,
    i have 4 radio buttons in my screen, initially only the first one must be active and all other must not be in selected state. at any point of time only one must be selected and based on the selection the subscreen area must be filled with the subscreen.
    whats the code to check if the radio button is selected or how to set the action for the radio button selection ?
    also whats the statement to reset the radio button ?
    thks

    You put them all in a radiobutton group.
    For example:
    PARAMETERS: rb_pres  RADIOBUTTON GROUP rbf,"Presentation Server Files
                            rb_app   RADIOBUTTON GROUP rbf."Application Server Files
    The first one is defaulted to "X", but you can also do that yourself.
    You check the value = "X" to see which is selected or say IS NOT INITIAL.
    Hope this helps,
    Mark

  • How do I make a "yes" or "no" radio button in one page, and "mirror" the two to another page?

    Hello,
    How do I make the radio button in page 10 mirror the choice made at page 3? Thank you.
    Page 3:
    Page 10:

    Simply copy the fields from one page and paste them in the other. Just make
    sure you tick the option that says "Buttons with the same name and choice
    are selected in unison" under the field's Properties, Options tab.

  • Multiple sets of radio buttons no longer working

    Hello All:
    My first post so I apologize in advance if I don't do it
    properly.
    I have a few web forms that have multiple groups of radio
    buttons on them that are suddenly errorring out since we moved to
    CF 7. I started tinkering with the one form that I have posted the
    code for and kept cutting it down to the simplest code that begins
    to produce the error. If I just use 1 radio button group everything
    works fine, but the minute I add the second one, the whole thing
    throws a "Syntax error (missing operator) in query expression"
    message. Each radio button group has it's own group name and a
    checked value. It is very simple code and very frustrating why it
    has suddenly stopped working so any assistance is welcome.
    Here's the form code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body background="white" marginheight="0"
    marginwidth="0">
    <cfform action="testSub.cfm" method="POST">
    <table width="95%" border="0" cellpadding="0">
    <tr>
    <td width="24%"><img src="survey.jpg"
    border="0"></td>
    <td width="76%"><p>It is our desire to assure
    that MID is meeting the needs of
    our clients. xxxxxxx
    <p> </p>
    <p>*****************************************************<br>
    </p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Please answer questions 1
    through 4 with a 1 - 5 rating, with 1 being POOR and 5 being
    EXCELLENT.</p>
    <p> You are not obligated to provide this
    information.</p>
    <p><font face="Arial, Helvetica, sans-serif"
    size="2">My Name (First &amp;
    Last):</font> <font face="Arial, Helvetica,
    sans-serif" size="2">
    <cfinput type="Text" name="poc" required="no" size="50"
    maxlength="50">
    <br>
    <b>1. Was
    your service technician polite and
    courteous?</b><br>
    <cfinput type="radio" name="polite" value="1">
    1
    <cfinput type="radio" name="polite" value="2">
    2
    <cfinput type="radio" name="polite" value="3" checked>
    3
    <cfinput type="radio" name="polite" value="4">
    4
    <cfinput type="radio" name="polite" value="5">
    5     </p>
    <p><br>
    <br>
    2. Was
    your service technician polite and
    courteous?</b><br>
    <cfinput type="radio" name="know" value="1">
    1
    <cfinput type="radio" name="know" value="2">
    2
    <cfinput type="radio" name="know" value="3" checked>
    3
    <cfinput type="radio" name="know" value="4">
    4
    <cfinput type="radio" name="know" value="5">
    5     </p>
    <input type="submit" name="btnSubmit" value="Submit My
    Comments!">
    <input type="reset" name="reset" value="Reset
    Form"><br>
    <br>
    </cfform>
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>
    </html>
    The ACTION code
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <CFIF IsDefined("FORM.btnSubmit")>
    <CFQUERY NAME="Add" datasource="newMID">
    INSERT INTO survey(
    poc,
    polite,
    know
    VALUES (
    '#poc#',
    '#polite#'
    '#know#',
    </CFQUERY>
    </CFIF>
    <cfoutput>
    Thank you. Your IT survey has been forwarded to our NHCPR IT
    mailbox.
    </cfoutput>
    <cfmail to="[email protected]"
    FROM="[email protected]"
    SUBJECT="IT Survey Form">
    Polite: #polite#
    Know: #know#
    POC (opt.): #poc#
    </cfmail>
    </body>
    </html>

    OK. I took out the extra comma. Put a space in after *survey*
    and put "form" in front of the variables in order to scope them. I
    got it to work just then and decided to add the next radio button
    and once again, the error message keeps coming up.
    Here's what it looks like now.
    ACTION
    code***********************************************************
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <CFIF IsDefined("FORM.btnSubmit")>
    <CFQUERY NAME="Add" datasource="newMID">
    INSERT INTO survey (
    poc,
    polite,
    know,
    time
    VALUES (
    '#form.poc#',
    '#form.polite#',
    '#form.know#',
    '#form.time#'
    </CFQUERY>
    </CFIF>
    <cfoutput>
    Thank you. Your IT survey has been forwarded to our NHCPR IT
    mailbox.
    </cfoutput>
    <cfmail to="[email protected]"
    FROM="[email protected]"
    SUBJECT="IT Survey Form">
    Polite: #polite#
    Know: #know#
    POC (opt.): #poc#
    Timely: #time#
    </cfmail>
    </body>
    </html>
    The ERROR msg
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in
    INSERT INTO statement.
    The error occurred in
    C:\Inetpub\wwwroot\PaxNew\chiefOscar\testSub.cfm: line 20
    18 : '#form.polite#',
    19 : '#form.know#',
    20 : '#form.time#'
    21 : )
    22 :
    SQL INSERT INTO survey ( poc, polite, know, time ) VALUES (
    'kennedi', '3', '5', '3' )
    DATASOURCE newMID
    VENDORERRORCODE -3502
    SQLSTATE 42000
    Resources:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 10.249.6.81
    Referrer
    http://205.115.107.22/chiefoscar/tsurvey.cfm
    Date/Time 29-Jan-08 02:05 PM
    Stack Trace (click to expand)

  • I need to create several different sets of radio buttons within one document.

    How do I designate a group of radio buttons. When I export my file as it is now, all of the radio buttons in my file are in just one group, which is not accurate.
    Thank you

    Thank you. As it turns out I had done it correctly, the style was just so, that the radio button was hard to distinguish if it had been clicked or not. When I zoomed in there was a slight dot in the center of the radio button to designate that it was actually selected.
    Thank you again.

Maybe you are looking for

  • I installed iTunes on my laptop and can not open it

    I installed iTunes on my Toshiba laptop and it wont let me accept the license agreement. Does anyone have any advise for me? or does anyone know if my laptop not compatible? Thanks

  • How can I convert a PSE 8 catalog to a PSE 10 catalog? I have tried numerous times over 3 days.

    I have repaired the PSE * catalog even though no errors were found. There are no *.avi files in the catalog. The conversion has a slight hang up at 34% and again at 82%, continues to the end and reports that the conversion failed. Why do I and so man

  • New Thunderbolt to FireWire

    Does anyone know when apple is going to release the Thunderbolt to FireWire adapter and what kind of FireWire it will be? I have an old video camera with a 4-pin FireWire 400 and I have the new MacBook Pro Retnia Display which doesn't have FireWire.

  • Unable to set fields readonly after calculation

    Hi all, I'm facing a problem. I got a table with some numeric fields, user can set value on thoses numeric fields.. After the table i add a footer line with Total field  and add the formcalc script "SUM(.... ) " and that works fine . Now i want to se

  • IProcurement-Variable Pricing Method on Blanket Orders

    When issuing a blanket release that has varible pricing on the blanket order the price entered during the blanket release process in iProcurement does not transfer back to Native Oracle. The blanket price appears in Native Oracle and it should be the