AS3.0 Need to Store Radio Button Value  as SharedObject

I am under a tight deadline. Friday Aug.22!!! I am trying to
store the value of a radio button (in a group for yes/no) when a
'Next" button is pressed. I have a nextBtn.addEventListener(...) to
contain a function which holds code to store the value of each
radio button on the page into its own SharedObject. As such:
_so.data.DrugName1 = DrugName1.selected;
I do not know the AS3.0 code to get the value of the selected
radio button in a grouping and then to use that value and store it
into the SharedObject _so.data I have been banging my head for
days. I fear I keep trying to use AS2 code for an AS3 project.
AAAAAhhhhhhhh!
Can someone please help me determine the value or data of a
radio button or radio button group. Is it "selected" or
"selectedData" or "getValue()" or "value" or "data" or what ??????
I don't know where else to turn. :(
alexdove at comcast.net
Please email direct if you can help. I'll be sure to re-post
a solution once I get it.
Thank you in advance.
Alex Dove

FlashTastic, thanks for the reply. I entered the code but I
cannot get the values to repopulate in the page when I return. I
try to put the SharedObject data of the radio button back into the
button on the page but it will not take. Here is my code:
//*************code in page to load SharedObject value back
into radio button when the page loads if a value
exists*****************
if((HumiraY_Row1.selected == false) &&
(_so.data.HumiraY_Row1 != null)){HumiraY_Row1.selected = true;}
if((HumiraN_Row1.selected == false) &&
(_so.data.HumiraN_Row1 != null)){HumiraN_Row1.selected = true;}
//******** Here is when the Next button is pushed to save the
data***
nextBtn2.addEventListener(MouseEvent.CLICK,
mouseDownHandler2);
function mouseDownHandler2(event:MouseEvent):void {
if(HumiraY_Row1.selected == true){_so.data["HumiraY_Row1"] =
HumiraY_Row1.selected;}
if(HumiraN_Row1.selected == true){_so.data["HumiraN_Row1"] =
HumiraN_Row1.selected;}
Still stuck. Look forward to another post. :)
Alex

Similar Messages

  • Passing radio button values to the backing bean

    Hi all,
    I need help with passing group of radio button values to a backing bean. I have page which has a dataTable to display a list of alerts. For each alert there are two radio buttons (YES & No) to indicate whether the email option for each alert is set or not. Now when i change the radio buttons and click on a submit button i should be able to pass these radio button values into action method in which i need to update the alerts. This is my code
    <h:form>
    <t:dataTable id="sub"
                       var = "alert"
                       value =#{subscriberBean.alertsList}">
    <t:column>
    <h:outputText value="#{alert.name}" />
    </t:column>
    <t:column>
    <h:selectOneRadio id="subscriptions" value="#{alert.sendEmail}">
      <f:selectItem id="item1" itemLabel="Yes" itemValue="0" />
      <f:selectItem id="item2" itemLabel="No" itemValue="1" />
    </h:selectOneRadio>
    </t:column>
    <t:dataTable>
    <h:commandButton id="button1" value="Save changes" actionListener="#{subscriberBean.updateAlert}" />
    </h:form>
    {code}
    I tried to to do something like below and get the updated list in the action event in the backing bean but it didn't work.
    {code}
    <h:commandButton id="button1" value="Save changes" actionListener="#{subscriberBean.updateAlert}" >
    <f:attribute name="alerts" value="#{subscriberBean.alertsList}"/>
    </h:commandButton>
    // Backing Bean
    public void updateAlert(ActionEvent e){
    List<Alert updateList = (List<Alert>)event.getComponent().
                    getAttributes().get("alerts");
    {code}
    Can someone advise how to get these update radio button values in my actionListener method.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The value the user selected will be written to the sendEmail property of the managed bean named alert. We know this because you set the value attribute to #{alert.sendEmail}. So simply access the managed bean in your action method.

  • To Retrieve dynamic radio button values using jsp & javascript

    Hi All,
    How can i retrive the dynamically created radio button values and also want to get the clicked radio button values.I am using JSP and JAVA beans to retrive the values from the form. I dont have any probs to retrieve combo box values, text box values only problem showing with radio button values. If any data which is entered wrong in the form all the fields should prefills with the old value.Except radio button values all others fields such as combo box, text box values are prefilled with the old values.
    I have given the code for radios.
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'Y\'"/>Yes   ');
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'N\'"/>No');
    document.write('<input type="hidden" name="fcidis" value="">')
    <form method="POST" action="Update.jsp" name="sampleReq" >
    <tr>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='supplier'"/> supplier
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='customer'"/>customer
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='distributor'"/> distributor
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='employee'"/> employee
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='New partner'"/>New partner
    <input type="hidden" name="requester1" value=""/>
    </td>
    </tr>
    Advanced Thanks for help
    Regards
    Sona

    Hi,
    If you have this code
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'Y\'"/>Yes ');
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'N\'"/>No');
    document.write('<input type="hidden" name="fcidis" value="">')
    <form method="POST" action="Update.jsp" name="sampleReq" >
    <tr>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='supplier'"/> supplier
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='customer'"/>customer
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='distributor'"/> distributor
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='employee'"/> employee
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='New partner'"/>New partner
    <input type="hidden" name="requester1" value=""/>
    </td>
    </tr>
    this field distradio will not be able Update.jsp.
    You will need to insert these field into the form definition.
    Now, to get a valeu from a radio button, you need only to do request.getAttribute("fieldName").
    To generate dinamically all radio button values, i need to know where are these information? In database? If yes, you need to read the resultset na in value attribute you need to do somethink like this <input type=radio name=fieldName value="<%out.println(resultset.getString("FieldName"));%>">
    If you have more question, only send me a email,
    best regards
    Edney Imme
    [email protected]

  • How to give the radio button value dml statement

    Oracle Forms6i
    Hai All
    I have created a form I the form i have created two radio button and named as appr, Recmd when i execute the forms appr is marked by default
    So now i need to insert or update this radio button value in my Table
    how can i insert or update this radio button value
    pls tell me the steps to do
    Thanks In Advance
    Srikkanth.M

    Hi,
    :<your_radiogroup_name> will give the selected radiobutton value

  • Need to store multiple session values in flex

    Hi,
         I need to store multiple session values in flex based on the user who logged in.
    For Example, if a user logged in as an administrator and in another windows another user logged in as guest, i need to maintain two seperate session for the two different users.
    Is it possible for maintaining different sessions.
    Expecting your valuable response.
    Thanks
    Jude Paul

    Look at Shared Objects. You can store this information in them by creating a unique object for each type of user.

  • I made a fillable form using indesign and then acrobat professional but need to have radio buttons trigger different fields showing in the form below them - is that possible and if so how do I do it??

    I made a fillable form using indesign and then acrobat professional but need to have radio buttons trigger different fields showing in the form below them - is that possible and if so how do I do it??

    What version of Reader are they using, exactly? And are you sure they're
    using Reader itself and not opening the file inside a browser window, for
    example?
    On Fri, Feb 6, 2015 at 5:24 PM, jessicao96457206 <[email protected]>

  • Pre-populating forms with radio button values

    I have been pulling my hair out trying to figure out why my action page is not being pre-populate with the value that is passed from the radio button selection. Can get my hands around what I am actually doing wrong. I have changed my code several times and can not keep up with any more. So below, I have included the main page and the action page that needs to be pre-populated with the data from the database. Thank you in advance for you help and time.
    MAIN.cfm
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <!--- Declare and initialize the variables
    --->
    <cfset today = DateFormat(Now(),"mmmm d, yyyy")>
    <cfset current_time = TimeFormat(Now(),"h:mm tt")>
    <cfset application_name = "Corporate Intranet Directory">
             <cfset current_url ='http://'& #CGI.SERVER_NAME# & ':'& #CGI.SERVER_PORT# & #CGI.SCRIPT_NAME#>
    <cfset current_browser = #CGI.HTTP_USER_AGENT#>
    <html>
    <head>
    <title>Employee Directory</title>
    </head>
    <!--- Included heading for the page--->   
    <h1>Employee Directory</h1>
    <body>
    <!--- Display the today date and the current time--->
    <cfoutput>Today's date is #today#</cfoutput><br>
    <cfoutput>The current time is #current_time#</cfoutput><p>
    <!---Display the URL and Browser used for the template --->
    <p><cfoutput>URL of this template: #current_url#</cfoutput>
    <cfoutput>Browser used: #current_browser#</cfoutput></p>
    <!---Insert a field to have the user search by email address --->
    <tr bgcolor = "yellow">
    <td>Search</td>
    </tr><br>
    Email: <input type="text" name="EmailAddress"
    size="20" maxlength="100"><br>
    <input type="Submit" value="Search"><p>
    <!--- Query the Employees table to find the employee who's ManOfTheYear is set to "YES"--->  
    <cfquery name="employeeOfTheMonth" datasource="Directory">
        select
                e.FirstName,
                    e.LastName
                from
                Employees e
                where
                e.ManOfTheMonth = 'Yes'
            </cfquery>             
    <!--- Query the Employees and Departments tables to find employee's First Name, Last Name, Title, Phone Extension, Email Address, and Department Name--->      
    <cfquery name="employees" datasource="Directory">
    select
    e.EmployeeID,
    e.FirstName,
    e.LastName,
    e.Title,
                    e.PhoneExtension,
                    e.EmailAddress,
                    d.DepartmentName,
    d.DepartmentID
    from
    Employees e,
                    Departments d
                where
                e.DepartmentID = d.DepartmentID
    </cfquery>
    <table border="2" bordercolor="blue">
    <!--- Display the Employee of the Month--->   
              <cfoutput query="employeeOfTheMonth">
    <tr>
                <th align="center" colspan="5">Employee of the Month: #employeeOfTheMonth.FirstName# #employeeOfTheMonth.LastName# </th>
                </tr>
                </cfoutput>
                <tr>
    <th>ID</th>
    <th>Name</th>
    <th>Title</th>
    <th>Department</th>
    <th>Phone Extension</th>
                    <th>Email</th>
    </tr>
    <!--- Display the First Name, Last Name, Title, Department Name, Phone Extension, and Email Address--->   
    <form action="admin3.cfm?EmployeeID=#EmployeeID#" method="post">
    <cfoutput query="employees">
    <cfswitch expression="#DepartmentID#">
        <cfcase value="1">
           <cfset backgroundcolor="00FFFF">
       </cfcase>
    <cfcase value="2">
           <cfset backgroundcolor="ff6699">
       </cfcase>
    <cfcase value="3">
           <cfset backgroundcolor="99ff99">
       </cfcase>
    <cfcase value="4">
           <cfset backgroundcolor="ffcc99">
       </cfcase>
    <cfcase value="5">
           <cfset backgroundcolor="cc99ff">
       </cfcase>
        <cfdefaultcase>
            <cfset backgroundcolor="red">
        </cfdefaultcase>
    </cfswitch>
    <tr bgcolor=#backgroundcolor#>
    <td><input type ="radio" name="EmployeeID" value="#employees.EmployeeID#"</td>
    <td><a href="http://localhost:8500/spiderbytes/assignments/employee_details.cfm?EmployeeID=#EmployeeID#"> #employees.FirstName# #employees.LastName#</td>
    <td>#employees.Title#</td>
                    <td>#employees.DepartmentName#</td>
    <td>#employees.PhoneExtension#</td>
                        <td>#employees.EmailAddress#</td>
    </tr>
    </cfoutput>
    <tr>
    <!--- Display the number of employee's in the directory--->
    <td align="right" colspan="5"><cfoutput>#employees.recordCount# Employee(s) found.</cfoutput></td>
    </tr>
    </table>
    <input type="Submit" name="Action" value="Add New Employee">
    <input type="Submit" name="Action" value="Edit Employee">
    <input type="Submit" name="Action" value="Delete Employee"><p>
    </form>
    <!--- Include a footer --->
    <CFINCLUDE template="footer.cfm">
    </body>
    </html>
    ADMIN.cfm
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Add New Employee</title>
    </head>
    <body>
    <CFIF ISDEFINED("Action")>
    <!--- Use the "Action" variable to display the same name as a heading --->
    <h1><CFOUTPUT>#Action#</CFOUTPUT></h1>
    <!--- Determine if the user select Edit Employee or Delete Employee --->
    <CFIF Action IS "Edit Employee" OR Action IS "Delete Employee">
    <!--- Query the database to get the data for current employee the user
    selected--->
    <cfquery name="DisplayEmployeeRecord" datasource="Directory">
    SELECT *
    FROM Employees
    Where EmployeeID = #EmployeeID#
    </cfquery>
    <cfoutput query="DisplayEmployeeRecord">
    <cfset variable.EmployeeID = "#EmployeeID#">
    <cfset variable.FirstName = "#FirstName#">
    <cfset variable.LastName = "#LastName#">
    <cfset variable.DepartmentID = "#DepartmentID#">
    <cfset variable.Title = "#Title#">
    <cfset variable.Salary = "#Salary#">
    <cfset variable.PhoneExtension = "#PhoneExtension#">
    <cfset variable.HomeAddress = "#HomeAddress#">
    </cfoutput>
    </CFIF>
    <form action="query.cfm" method="post">
    <table border="2">
    <!--- Server-Side Validation - First Name, Last Name, Department, and and Email Address are required
    fields --->
    <input type="hidden" name="EmployeeID_required" value="First Name is
    a required field">
    <input type="hidden" name="FirstName_required" value="First Name is
    a required field">
    <input type="hidden" name="LastName_required" value="Last Name is
    a required field">
    <input type="hidden" name="DepartmentID_required" value=" Department ID is
    a required field - Please fill in the coorsponding Department ID for the employee">
    <input type="hidden" name="EmailAddress_required" value="Email Address is
    a required field">
    <!--- Create a table for the names of the fields and the textbox --->
    <tr>
    <td>
    First Name (required): </td>
    <td><input type="Text"
    name="FirstName" size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Last Name (required): </td>
    <td><input type="Text" name="LastName"
    size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Department Number (required): </td>
    <td><input type="Text"
    name="DepartmentID" size="35" maxlength="4"><br></td>
    </tr>
    <tr>
    <td>
    Title: </td>
    <td><input type="Text"
    name="Title" size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Salary: </td>
    <td><input type="Text" name="Salary"
    size="35" maxlength="10"><br></td>
    </tr>
    <tr>
    <td>
    Email (required): </td>
    <td><input type="Text" name="EmailAddress"
    size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Work Phone: </td>
    <td><input type="Text" name="PhoneExtension"
    size="35" maxlength="10"><br></td>
    </tr>
    <tr>
    <td>
    Address: </td>
    <td><input type="Text" name="HomeAddress"
    size="35" maxlength="50"><br></td>
    </tr>
    <!--- Adds the new employee to the Directory database---> 
    <tr>
    <th align "center" colspan ="2">
    <br><input type="Submit" name="Action" value="<cfoutput>#Action#</cfoutput>">
    </th>
    </tr>
    </table>
    </form>
    <!--- Include a footer --->
    <CFINCLUDE template="footer.cfm">
    </body>
    </html>
    </CFIF>

    Thanks for your reply.  The radio button was placed inside the anchor so that when the user selects that employee, it will pre-populate the from base upon the "Action" selected (i.e. Edit Employee and Delete Employee).  I quite sure this can be done with out using javascript.  I know that I accomplish this by using a drop-down list, but I would like to use the radio buttons instead because I would have to change my code.
    Here is the  code with the radio button:
    <tr bgcolor=#backgroundcolor#>
    <td><input type ="radio" name="EmployeeID" value="#employees.EmployeeID#"</td>
    <td><a href="http://localhost:8500/spiderbytes/assignments/employee_details.cfm?EmployeeID=#EmployeeID#"> #employees.FirstName# #employees.LastName#</td>
    <td>#employees.Title#</td>
                    <td>#employees.DepartmentName#</td>
    <td>#employees.PhoneExtension#</td>
                        <td>#employees.EmailAddress#</td>
    </tr>
    Here is are some ways that I coded my form action is coded:
    <form action="admin3.cfm" method="post">  OR
    <form action="admin3.cfm?EmployeeID =# EmployeeID#" method="post">

  • 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.

  • NEED HELP IN RADIO BUTTON QUERY

    Hi, Friends
    I like to query to extract data from my table with the help of radio button but I am not able to think what I should write to query. Plz help.
    The radio button select jsp page code is-
    <form action="queryservice.jsp" method="post">
    <h3><strong>Services Available</strong></h3>
      <p>
        <label>
          <input type="radio" name="service" value="si"  />
          Institutions</label>
        <br />
        <label>
          <input type="radio" name="service" value="sc" />
          Corporate_Offices</label>
        <br />
        <label>
          <input type="radio" name="service" value="sr" />
          Restaurent_Cafe</label>
        <br />
        <label>
          <input type="radio" name="service" value="sb" />
          Bus_Stop</label>
        <br />
        <label>
          <input type="radio" name="service" value="sa" />
          Apartment</label>
        <br />
        <label>
          <input type="radio" name="service" value="sh" />
          Hotels</label>
        <br />
      </p>
      <label>
        <input type="submit" value="Submit" />
      </label>
    </form>And queryservice.jsp page is
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <sql:query var="xyz" scope="request">
       <% String var = request.getParameter("service"); %>
             if(var.equals("si")){ SELECT si FROM serviceTable}
          else if(var.equals("sc")){ SELECT sc FROM serviceTable}
          else if(var.equals("sr")){ SELECT sr FROM serviceTable}
          else if(var.equals("sb")){ SELECT sb FROM serviceTable}
          else if(var.equals("sa")){ SELECT sa FROM serviceTable}
          else if(var.equals("sh")){ SELECT sh FROM serviceTable}
    </sql:query>Please correct it.
    Thanking you

    Error Report-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
           if(var.equals("si")){ SELECT si FROM serviceTable }
          else if(var.equals("sc")){ SELECT sc FROM serviceTable}
          else if(var.equals("sr")){ SELECT sr FROM serviceTable}
          else if(var.equals("sb")){ SELECT sb FROM serviceTable}
          else if(var.equals("sa")){ SELECT sa FROM serviceTable}
          else if(var.equals("sh")){ SELECT sh FROM serviceTable}
    : Non supported SQL92 token at position: 57: SELECT
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException:
           note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    Apache Tomcat/6.0.14

  • 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.

  • When saving form with 'Save As', losing radio button value

    I recently upgraded from Acrobat Pro 8.2 to Acrobat Pro 10.  Now experiencing the following issue:
    I have a PDF form, that is filled by an application.   With Acrobat Pro 10, if I open the completed form, and then use 'File' > 'Save As' > 'PDF', then the radio button fields lose their value.  Other fields retain their value, only the radio button fields become blank.   If I use the 'Save' option, then the radio buttons do not lose their value.
    Any help is appreciated!

    Hi,
    Can you check on your page to see if you have "reset page" process - if so, you could probably remove it. Also check on your page branches so see if you are clearing the cache for the page. If your page item is not related to a table field, you can also change the "Source Used" setting for it to "Only when current value in session state is null".
    When you submit a page, all page items should be stored in the session and would be available the next time the page is reloaded UNLESS you clear the cache for the page or the Source settings instruct Apex to retrieve the value from elsewhere - the above are the most likely causes, so check them first
    Andy

  • How to get radio button value in JavaScript

    I have a very simple radio button with two values: 1 and 2. I am trying to pass the value using a JavaScript call to a popup window. I am assuming there is a different method of obtaining the value, as
    var v_typ = document.getElementById("P1520_TYPE").value;doesn't work.

    Hi,
    If you are on Apex 3.x or higher, use JavaScript API function $v
    http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDEJEIG
    var v_typ = $v("P1520_TYPE");Regards,
    Jari

  • Need 2 different radio button icons

    I have a project using 2 groups of radio buttons. Each group
    needs its own icon. I can skin the RadioButton Asset, but that
    affects ALL radio buttons. I guess U need to be able to change the
    icon property on an instance-by-instance basis. I don’t speak
    enough Actionscript to do this without help.
    Anybody know how to do this?

    Do this from the system preferences window.
    Click on Users&Groups.
    Click on the padlock (bottom left) to unlock it if it's not unlocked.
    Then highlight the account in the left pane that you want to remove...
    and then click on the MINUS symbol on the bottom left of that window.
    Just make sure when you delete an account, that you're currently NOT LOGGED INTO that account, or it's not going to work.
    Feel free to chose the delete home-folder option when it prompts you.

  • Setting/Clearing Dynamic Radio Button values

    Hi, i have the following Radio buttons defined within an iteration
    <c:forEach items="${searchresults}" var="post" varStatus="status">                                        
         <tr class = "text_results"> 
              <c:url value="/searchposts.do" var="url">
                   <c:param name="postitle" value="${post.postId.postTitle.title}"/>
                   <c:param name="postcode" value="${post.postId.postTitle.code}"/>                    
                   <c:param name="unitcode" value="${post.postId.units.unitCode}"/>
                   <c:param name="auth" value="${post.postId.auth}"/>
              </c:url>
              <td>
                   <a href='<c:out value = "${url}" />'>                                        
                   <c:out value="${post.postId.postTitle.title}"></c:out></a>
              </td>
              <td><c:out value = "${post.mustering}"/></td>  
              <td><c:out value = "${post.rank}"/></td>  
              <td>
                   <html:radio property="incmbt" 
                        value='${post.postId.postTitle.title}'>
                   </html:radio>                                             
                   <a href = "javascript:unCheckRadio(document.searchForm.incmbt)">
                        clear
                   </a>
              </td>                                             
         </tr> 
    </c:forEach>  The property "incmbt" is declared as a form property (String incmbt) with its getters and setters ... i plan to set each radio button with a value from database within an object called post. The actual value to set for each radio is a post title ... I seem to be getting a NULL value when i try to get the value in action class (form.getIncmbt() yields null) ... Am i assigning the value correctly?
    Further, here's is how i clear the values which seems to work
    Javascript
    function unCheckRadio(btngrp) {     
         for(var i=0; i < btngrp.length; i++)
              if( btngrp.checked == true ) {
                   btngrp[i].checked = false;
                   document.write("Selected Radio is :" + btngrp[i].value);
    But the "Selected Radio is :" displays "${post.postId.postTitle.title}", not the actual post title... ???

    I just thought about this quickly, i think its because an href link does not submit form values ... If so, how can i submit the value of a radio button through the <c:param/> tag or any other way after clicking the href link to submit the form?

  • How to disable a field on the basis radio button value selected.

    hello to all,
    i am facing one problem.I have declared two selection screen blocks.
    In one i hvae declared two radio button r1 -Fiscal year and r2--Datewise.
    And in another selection screen block all i/p fields. like plant. date.year etc.
    Now if user select r1-Fiscal year  then i/p field - date of second block should be disable.
    And if user select r2-Datewise  then i/p field - year of second block should be disable.
    SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME
              TITLE TEXT-002.
           PARAMETERS: R1 RADIOBUTTON GROUP RA1 user-command ucomm,
                       R2 RADIOBUTTON GROUP RA1 DEFAULT 'X'.
       SELECTION-SCREEN END OF BLOCK  BLK.
    selection-screen begin of block b1 with
      frame title text-001.
    parameters : gjahr like ZSA_DETAIL-gjahr  MODIF ID YAR,
                 aedat like ZSA_DETAIL-aedat  MODIF ID DAT,
                 werks like ZSA_DETAIL-werks .
    selection-screen end of block b1.
    AT SELECTION-SCREEN on RADIOBUTTON GROUP RA1.
       BREAK-POINT.
        IF R1 = 'X'. "fiscal
         LOOP AT SCREEN.
            IF screen-group1 = 'DAT'.
             screen-active = 0.
             screen-invisible = 1.
             MODIFY SCREEN.
             ENDIF.
            endloop.
       ELSEIF R2 = 'X'.
         LOOP AT SCREEN.
         IF screen-group1 = 'YAR'.
           screen-active = 0.
          MODIFY SCREEN.
         ENDIF.
         ENDLOOP.
        ENDIF.

    Hi Shikha,
    Regarding your query, when you select a particular radio-button then the fields pertaining to that radio-button should get activated or get displayed, otherwise it should be hidden.
    This can be done adding the addition to the Radiobutton 'USER-COMMAND' this will automatically enable-up
    the functionality of the fields related to that radiobutton, while disabling the others.
    If USER-COMMAND isn't given, then ENTER key serves the purpose.
    DATA:
    w_carrid LIKE sflight-carrid,
    w_connid LIKE sflight-connid.
    PARAMETERS:
    p_carrid RADIOBUTTON GROUP airl USER-COMMAND airline,
    p_connid RADIOBUTTON GROUP airl.
    SELECT-OPTIONS:
    s_carrid FOR w_carrid,
    s_connid FOR w_connid.
    INITIALIZATION.
    p_carrid = 'X'.
    Now enabling desired fields and disabling the others, can be done by the following snippet.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_carrid EQ 'X'.
    IF screen-name CS 'S_CONNID'.
    screen-active = 0. " Disable the field S_CONNID
    MODIFY SCREEN.
    ELSEIF screen-name CS 'S_CARRID'.
    screen-active = 1. " Enable the field S_CARRID
    MODIFY SCREEN.
    ENDIF.
    ELSEIF p_connid EQ 'X'.
    IF screen-name CS 'S_CARRID'.
    screen-active = 0.
    MODIFY SCREEN.
    ELSEIF screen-name CS 'S_CONNID'.
    screen-active = 1.
    MODIFY SCREEN.
    ENDIF.
    ENDIF.
    ENDLOOP.
    Hope, this would help you solve your problem.
    Thankyou,
    Zahack.

Maybe you are looking for

  • U2312HM and second monitor = Entering Power Save Mode

    So, my monitor has not been able to turn on for about a week now. It shows that it's getting power, but after 3 seconds I get the message that it is going into power save mode. I am able to press some buttons on the monitor and a message pops up that

  • 24" IMAC 09 - Replacing HDD -  Size, Hybrid, speed?

    HDD went down, got it back but it's not right.  Am replacing, would like to get Hybrid, but seems they are all 2.5", use adapter, probably not, Recommendations for HDD, 1 tb, 7,200 RPM, 6GBS?  Just inquiring what people are using, and am especially i

  • Outline and Styles option grayed out when composing message in mail

    When composing an email message using mail 6.2,I'm unable to view any styles options under the Format option in the toolbar as it's grayed out along with the Outline option. I do have the rich text button selected in my "New Message" toolbar in Mail

  • The client connection is not allowed on the internal edge of the Access Edge Server

    We are trying to setup Lync 2013 Edge Server, we have a setup as described below Real IPs for Lync Edge/WebConf/AV NAT of real IPs through Firewall Juniper to FE IP Topology with NAT (Firewall IP) IP enabled Certificates for with SAN for sip.acme.com

  • Flarecreate for zfs root dataset and ignore multiple dataset

    Hi All, I want to write a script to create flar images on multiple servers. In non zfs filesystem I am using -X option to refer a file to exclude mounts on different servers. but on ZFS -X option is not working. I want multiple mounts to be ignore on