Radio Buttons - Vertical versus Horizonal

In WebDB 2.2, I was able to get my form radio buttons to go across the page rather than down by adjusting the input width
of the row that they were on, making the width fairly wide. In portal, I cannot get this to occur.
Looking at the HTML source generated, portal puts a <BR> at the end of each button option, and WebDB does not.
Any way to accomplish this? Thanks.

Hi
You can achieve this custom forms. But the lov should be a static one. I am giving a sample below
to explain better.
Example
Create a custom form based on scott.emp. Run the form and from the html source copy the radio button tags.
Edit the form and goto the custom section and replace <TD><#DEPTNO.ITEM#></TD> with copied tags and remove
the <br> tags. It would look like something below
<INPUT TYPE="radio" NAME="FORM_0508231444.DEFAULT.DEPTNO.01" VALUE=" ">
<INPUT TYPE="radio" NAME="FORM_0508231444.DEFAULT.DEPTNO.01"
VALUE="10">ACCOUNTING
<INPUT TYPE="radio" NAME="FORM_0508231444.DEFAULT.DEPTNO.01"
VALUE="20">RESEARCH
<INPUT TYPE="radio" NAME="FORM_0508231444.DEFAULT.DEPTNO.01"
VALUE="30">SALES
<INPUT TYPE="radio" NAME="FORM_0508231444.DEFAULT.DEPTNO.01"
VALUE="40">OPERATIONS
You might run into problems if you change the form, because you are changing the way forms usually works. This is not
a documented way of rendering radio buttons. Everytime you edit the form to add or remove columns you might have to
redo the above steps.
Thanks,
Sharmila

Similar Messages

  • Can 3 vertical Radio Buttons span 3 rows in a table? AND how to make form highlight when radio butto

    I am trying to add 3 grouped vertical radio buttons where one is on each line of a 3 row table. When I group the 3 buttons it squeezes them into one row, is there a way I can have them grouped and one in each.
    Also, I would like to know how to make part of the form highlight when one of the 3 buttons is selected

    Hi,
    If I am not wrong, a table cell can hold only one component or none. In order to place the radio group to different positions vertically, you can use subforms instead of table.
    Asiye

  • OBIEE 11g Radio Button Value show horizontally instead of vertically

    Hi,
    Can the Radio Buttons Prompt values in OBIEE 11g be shown horizontally instead of vertically on a dashboard prompt.
    Thanks
    Kathy

    I cannot find it in the out of the box functionality. I think it might be possible with some custom programming which I do not have time to investigate.
    If somebody has done this, please let us know if it is possible.

  • Exact & Precise Horizontal & Vertical alignment of Radio Buttons

    How can I align RADIO BUTTONS used in a LIKERT SCALE both horizontally (i.e. EXACTLY on the SAME ROW) and vertically (i.e. for each row EXACTLY COLUMN UNDER each other). Using the grid is most clumsy and my buttons appear "wobbly" both horizontally and vertically. The SHIFT and CTRL keys do not seem to help much. SHIFT is horizontally and vertically too coarse (even though the grid has been defined to be very fine) and the CTRL just deforms the button. I need to be able to "nudge" the buttons as can be done in MS/WORD - Mike van der Linde

    There are a number of options. One is to set up guides, and fields will snap to them when one of the field borders is brought near. To add a guide, show the rulers (Ctrl+R) and click/drag one from either the horizontal or vertical ruler.
    You can also select multiple fields, right-click on one of them, and select the option to align left, bottom, etc. The field that you right-click will be the model or anchor for the others. Other right-click option allow you to set multiple selected fields to the same size (height, width, both) and distribute them horizontally or vertically to they are evenly spaced.

  • Vertical Allignment of Radio Buttons

    Hi All,
    I am new to OAF.I am creating a OAF page(Questionaire page) which has many questions and each question has 2 Radio buttons as "Yes" and "No" as the answer and aligned horizontally with the question.I am facing an issue with vertical alignment of the Radio buttons.Depending upon the length of the questions radio buttons position is getting changed.I want all the radio buttons to be aligned vertically in a single column.
    I have created a header region-->rowlayout(for each question and 2 radio buttons) contains:
    > _1 item_ with item style 'MessageStyledText'----- for question
    > _2 items_ with item style 'MessageRadioButton'----for 2 radio button
    Please guide me to resolve this issue.

    There are a number of options. One is to set up guides, and fields will snap to them when one of the field borders is brought near. To add a guide, show the rulers (Ctrl+R) and click/drag one from either the horizontal or vertical ruler.
    You can also select multiple fields, right-click on one of them, and select the option to align left, bottom, etc. The field that you right-click will be the model or anchor for the others. Other right-click option allow you to set multiple selected fields to the same size (height, width, both) and distribute them horizontally or vertically to they are evenly spaced.

  • Changing Radio button location

    Hi,
    http://apex.oracle.com/pls/otn/f?p=50508:6:
    On the page above, i would like to change the location of radio button from "top left" to "center bottom". Is it possible?
    I am using a static LOV for the generation of radio buttons
    STATIC2:<div class="radiolook"><img src=#WORKSPACE_IMAGES#Picture5.jpg width="200" height="200" /></div>;A,<div class="radiolook"><img src=#WORKSPACE_IMAGES#Picture6.jpg width="200" height="200" /></div>;B,<div class="radiolook"><img src=#WORKSPACE_IMAGES#Picture8.jpg width="200" height="200" /></div>;CThe css class code is
    .radiolook {
    margin:5px auto;
    padding:5px;
    font-size:12px;
    color:#096;
    text-align:left;
    vertical-align:top;
    border:1px #ffd700 solid;
    border-right:2px #096 solid;
    border-left:2px #096 solid;
    background-color:#ffffcc;
    }Please help..
    thank you
    VG
    Edited by: vg_2 on Nov 5, 2009 8:28 AM
    Edited by: vg_2 on Nov 5, 2009 8:28 AM

    Try:
    <style type="text/css">
    #P6_X table {
      margin-top: 10px;
    #P6_X td {
      height: 240px;
      vertical-align: top;
    #P6_X input, #P6_X label {
      display: block;
    #P6_X input {
      margin: 220px auto 0 auto;
      text-align: center; /* Because IE sucks */
    #P6_X label {
      margin-top: -240px;
    </style>Radio buttons are NOT nice things to style! None of the browsers seem to support padding on them, and height is all over the place as well.
    As the .radiolook CSS didn't seem to be applied on your example page I left it off in my experiments. You'll have to adjust the 240/220 values to accommodate the extra size introduced by its margins, borders and padding.

  • Radio buttons created as required fields don't change to yellow when not submitted.

    I am creating an online form with required fields. Some of these fields are radio buttons. This issue is when the form is submitted without the required radio buttons selected the user is given an alert that they need to complete the required fields and those required fields become "highlighted" in yellow. In Mozilla (v16), the radio buttons do not change yellow. This features works in IE. The form works best with radio buttons versus drop-down or text box. Most of our employees use Mozilla, so would like to find a solution. Thanks.

    the syten should always allow you to change except you have set the "Functional authorization for buyers"
    in SPRO-MM-Purchasing-authorizationmanagement-define Function Authorizations: Purchase Order
    if this is set ethn it wont allow
    remove this config or remove the parameter id for EFB from SU01 from parameter tab

  • How can I get my radio buttons on one line?

    I have tried to put two radio buttons in one text cell in a table, but I can´t get them side by side. They stack on top on each other, in a vertical list, no matter what I do.
    Sorry for the stupid qustion, but this is my first attempt in LiveCycle Designer.

    Thanks for your time. I found the soloution. I changed the flow direction in the suborm from "top to bottom" to "Western text"

  • Radio buttons on Customer_H fields in Web UI

    Hi Experts,
    I have a requirement to include the Customer_H fields in Web UI. In the Customer_H table, there are 8 fields, which are currently used in the GUI as follows:
    Field 1 & 2 - Type char1 - Checkbox
    Fields 3 - 8 - Type char1 - 3 radio buttons for each field
    (depending on the selection of a radio button, a corresponding char value is set to the field)
    How do I use the same combination of radio buttons for fields 3-8 on the UI? On the UI, I see checkboxes by default for all the 8 fields.
    I have tried the following:
    For each of fields 3 - 8, I have set the following code in their P_GETTER methods:
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
      ENDCASE.
    Thus, in the configuration tab, I can see "Radio button group" written against these fields and field type as "Radiobutton" in the field properties.
    However, on launching the UI, I still see all these fields as checkboxes.
    Please help me in:
    i) Setting up the radio buttons for these fields (do I need to use value nodes?)
    ii) Displaying the radio buttons on the UI
    iii) Capturing the selected radio button's value and updating the customer_h field.
    Look forward to your reply.
    Thanks in advance.
    Regards
    Vicky

    Hi Stephen,
    I understand your point and agree to it.
    However, I have been able to solve the issue now.
    Solution:
    We need to use the P_GETTER method of the EEWB ZZ field to define:
    i) the field type as radio button,
    ii) the radio button group,
    iii) The way radio buttons should be arranged (horizontally or vertically). If we put no. of cols = 1, then these will be arranged vertically.
    We need to use V_GETTER of the same ZZ field to:
    Assign the key & value to the radio buttons (coding is similar as for dropdowns).
    Following is the code:
    *method GET_P_ZZCUSTOMER_H0101.*
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
        WHEN if_bsp_wd_model_setter_getter=>fp_radio_cols.
          rv_value = 3.
        WHEN if_bsp_wd_model_setter_getter=>fp_group.
          rv_value = 'R1'.
      ENDCASE.
    endmethod.
    *method GET_V_ZZCUSTOMER_H0101.*
      DATA:  lt_ddlb     TYPE bsp_wd_dropdown_table,
             ls_ddlb     TYPE bsp_wd_dropdown_line.
      IF GR_DDLB_FIELD0101 IS NOT BOUND.
        CREATE OBJECT GR_DDLB_FIELD0101
          EXPORTING
            iv_source_type = 'T'.
          clear : ls_ddlb.
          ls_ddlb-key = '1'.
          ls_ddlb-value = 'P1'.
          append ls_ddlb to lt_ddlb.
          clear : ls_ddlb.
          ls_ddlb-key = '2'.
          ls_ddlb-value = 'P2'.
          append ls_ddlb to lt_ddlb.
          clear : ls_ddlb.
          ls_ddlb-key = '3'.
          ls_ddlb-value = 'P3'.
          append ls_ddlb to lt_ddlb.
          GR_DDLB_FIELD0101->set_selection_table( lt_ddlb ).
      ENDIF.
      rv_valuehelp_descriptor = GR_DDLB_FIELD0101.
    endmethod.
    Say the field label of the field ZZCUSTOMER_H0101 is "Grade", then it will show in the UI as below:
    Grade    () P1       () P2       () P3 
    () = radio button.
    Hope it helps.
    Cheers
    Vicky

  • CS3 JS Radio button layout

    In all the examples I've seen the radio buttons align vertically.
    Is it possible to align then horizontally?

    Thanks Peter,
    Did a bit of a search on scriptUI and found a couple by Dave Sanders.
    In his example he codes the dialog;
    myDlg = new Window('dialog', 'Drop-down List');
    myDlg.orientation = 'column';
    myDlg.alignment = 'right';
    //add drop-down
    myDlg.DDgroup = myDlg.add('group');
    myDlg.DDgroup.orientation = 'row';
    The test I was working on is as follows:
    function myDisplayDialog(){
    var myDialog = app.dialogs.add({name:"Radio layout"});
    //Add a dialog column.
    with(myDialog.dialogColumns.add()){
    var myRadioButtonGroup = radiobuttonGroups.add();
    with(myRadioButtonGroup){
    var myFirst = radiobuttonControls.add({staticLabel:"One", checkedState:true});
    var mySecond = radiobuttonControls.add({staticLabel:"Two"});
    //Show the dialog box.
    var myResult = myDialog.show();
    myDisplayDialog();
    So is it possible to do somthing like:
    with(myRadioButtonGroup.orientation = "row" ){
    or should i be following the format Dave has in his example?

  • Single select option in table view as radio button without design

    Hi,
    When I use the Content design = "Design2002" or design = "Design2003" then I get a checkbox in table view by giving the single select option. But when I do not use any design for the Content then I get a radio button in the table view.
    How do I get a radio button in the table view with Content Design = "Design2002" or design = "Design2003"?
    Message was edited by: Brian McKellar
    Assume you are asking about design=2002 versus 2003? Updated question.

    Hallo Sachin,
    Later this afternoon I will check your question with a colleague for an answer. We are all offsite today.
    Until then, it would be good if you review your questions Tableview radio button event..
    ++bcm

  • Af:selectOneRadio : spacing between radio button and it's text

    Hi All,
    JDev 11.1.1.6
    I want to put some space between two radio buttons (between two af:selectItem) say some 10px.
    <af:panelGroupLayout layout="horizontal" id="pgl9">
    <af:outputText value="1. New mobile phone connection"
    inlineStyle="font-size: 12px; vertical-align: top; color: #f37f41; font-weight: bold; padding-left: 15px;"
    id="ot23"/>
    <af:spacer width="10" id="s15"/>
    <af:selectOneRadio id="sor1" layout="horizontal" autoSubmit="true"
    inlineStyle="padding-top: 5px; padding-left: 49px; padding-right: 20px;"
    binding="#{backingBeanScope.ServiceReq.selectRadio1}">
    <af:selectItem label="1GB Data" value="1GB Data" id="si2"/>
    <af:selectItem label="10 GB Data" value="10 GB Data" id="si1"/>
    </af:selectOneRadio>
    </af:panelGroupLayout>
    I tried setting it inlineStyle="margin:10.0px;" and also tried setting it in the css, but of no use.
    Thanks in advance

    Hi,
    <af:selectItem does not support inLine style therefore try to add sequence of non-breaking space(&nbsp ; ) for the label end of the radio
    See
    http://www.w3schools.com/html/html_entities.asp

  • How to Horizontally Arrange Radio Buttons

    Is there a way to arrange radio buttons in form central horizontally, rather than the default vertical arrangement?

    Add Item ~ single choice field ~ that will drop a couple of radio buttons in, stacked vertically ~ hover mouse over the right side dotted border around the whole element and you should see two short vertical bars appear, which indicate you can stretch the border to the right ~ left click and drag the dotted border to the right (allow plenty of space) ~ look at the 'Field Properties' on the right hand side ~ untick 'stack choices vertically'.
    Hope that makes sense - it does work, honest, so if you have a problem it's my poor explanation, so come back to me.

  • How to place af:table in the middle of radio buttons

    Hi,
    I am on jdev 11.1.2.4.
    I've a requirement to have a form with two radio buttons. RB1 & RB2 and af:table component in the middle of these radio buttons
    something like this.
    RB1
    <af:table>
    RB2   <InputTextItem>
    I've tried placing  the table component in the desired place but it's not allowing it.
    please can you help?
    thanks

    Just setup a small sample
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelStretchLayout topHeight="50px" id="psl1">
              <f:facet name="top">
                <af:outputText value="SelectBooleanRadio Test" id="ot1" inlineStyle="font-size:x-large;"/>
              </f:facet>
              <f:facet name="center">
                <af:panelGroupLayout id="pgl1" layout="vertical">
                  <af:selectBooleanRadio text="Group A" id="sbr1" simple="true" group="myGroup" value="#{bindings.selGroup1.inputValue}" autoSubmit="true"/>
                  <af:panelGroupLayout id="pgl2" layout="vertical">
                    <af:inputText label="Label 1" id="it1" disabled="#{!bindings.selGroup1.inputValue}" partialTriggers="sbr1 sbr2"/>
                    <af:outputText value="selGroup = #{bindings.selGroup1.inputValue}" id="ot2" partialTriggers="sbr1 sbr2"/>
                  </af:panelGroupLayout>
                  <af:selectBooleanRadio text="Group B" label="Label 1" id="sbr2" simple="true" group="myGroup" value="#{bindings.selGroup1.inputValue}"
                                         autoSubmit="true"/>
                </af:panelGroupLayout>
                <!-- id="af_one_column_header_stretched"  -->
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    and hte pagedef which holds the variable
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="11.1.1.64.93" id="SelectBooleanPageDef" Package="de.hahn.blog.vctest11g.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables">
          <variable Name="selGroup" Type="java.lang.Boolean"/>
        </variableIterator>
      </executables>
      <bindings>
        <attributeValues IterBinding="variables" id="selGroup1">
          <AttrNames>
            <Item Value="selGroup"/>
          </AttrNames>
        </attributeValues>
      </bindings>
    </pageDefinition>
    Timo

  • Best way to align text with checkboxes/radio buttons?

    Is there a better way to align text and checkboxes/radio
    buttons than using
    tables with vertically-centered cells?
    Reason being, well... you've all tried putting text next to
    those form
    inputs, right? They don't naturally align.

    Thanks, but nothing there really answers my question. :-(
    Anyone know if there's a better way to align text and
    checkboxes/radio
    buttons than using tables with vertically-centered cells?
    Reason being, well... you've all tried putting text next to
    those form
    inputs, right? They don't naturally align. What is the modern
    solution to
    this problem?
    "Nancy O" <[email protected]> wrote in message
    news:gqlm1f$9te$[email protected]..
    >
    http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/

Maybe you are looking for