Chaange font of radio buttons

How can I change the font of the radio buttons, I need
works in the web
tahnks

hi
i found the way
this is a example
Set_Radio_Button_Property('ra_periodo','rb_ciclo',prompt_font_weight,font_BOLD);

Similar Messages

  • Change font of radio buttons workd only in wnft

    Hi
    I have this pproblem, I change the font of th radio button but I can do it only in the new-form-instance, is this correct, I tried with the when-radio-changed trigger but does not anythin,
    Some body help me
    Thanks

    hi
    i found the way
    this is a example
    Set_Radio_Button_Property('ra_periodo','rb_ciclo',prompt_font_weight,font_BOLD);

  • Connecting selection of radio button to a text or numeric field

    Hi. I am using LiveCycle Designer 8.0 and I am trying to define object properties that will allow the selection of a radio button to populate in a numeric data field at the bottom of the page. I was able to write the script to have that happen with drop-down lists, but I can't figure out how to write the script for the radio button. I also don't know if the script is supposed to apply to the radio button itself or the numeric field where I want the result to show-up. Can you please help me with some sort of an example script? Thanks.

    Hi Jen,
    I would recommend that you amend your workspace in Designer. You can show/hide palettes from the Window menu.
    Here are some pointers (which are optional):
    This is the hierarchy palette and is very handy when working with forms. You can select objects quickly and drag objects around.
    This is the Object palette, which makes it easy to drag objects onto the page.
    The main space with tabs for Design View, Master Pages, XML Source (you should not need this) and Preview.
    You can select objects in EITHER the page or the hierarchy view and then change properties in other palettes.
    The Script Editor is very important when you start to add functionality to your form. It is visible on your screen shot, but it is limited to one line in height. So I would recommend that you drag this down so that you can see a few lines of script. The Show dropdown in the Editor allows you to look at the script in various events. In the example I posted, there is script in the click event.
    Object palette (and Font & Paragraph palettes). These will allow you to make changes to various properties, depending on the object that is selected.
    You will see from the screenshot that you can position and stack the palettes to suite your screen and workflow.
    Now, in relation to your screenshot:
    You have selected a single radio button in your group. You need to select the whole exclusion group, this is easy in the hierarchy palette.
    In the Object > Binding palette you have ticked the Specify Item Values (good), but you need to edit the values to match the Display Items. For example for item "$85", the specified value should be "85".
    For starters, I would recommend that you open a few of the palettes and then have a look at my example and the screenshots. Hopefully that will clear it up for you.
    Niall

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

  • Radio Button Size

    Radio Buttons do not seem to have a "SIZE" property.
    CheckBoxes have a "SIZE" property on the OBJECT-FIELD tab. For checkboxes, the size can be set in points and it is reflected in the size of the box that is checked. This size is independent of the object width/height or font size.
    Radio buttons seem to be a fixed size circle. The OBJECT-FIELD tab has no size property. Changing width, height, margins, reserve, font, etc does not impact the size of the circle.
    There seems to be a hidden size property, since radio buttons that are imported from previous pdf seem to retain their size. Whereas, creating a new radio button always gives the same small size.
    It appears that the OBJECT-FIELD interface for the radiobutton needs to be modified to implement the "hidden" size property.
    Does anyone have a workaround. For instance, if I knew what the hidden property name and syntax was, I could set the size during the initialization event for the radio button. I suspect it's the same name and syntax as for the checkbox, but I don't have that either. The documentation that came with the "professional" version of Acrobat 7 does not seem to go to this level of detail.

    This is available in the Designer 7.1 UI, easiest thing would be to upgrade.<br /><br />Basically it sets the size attribute of the <checkButton> node, which is inside the <ui> node which is in the <field> node.<br /><br />Chris<br />Adobe Enterprise Developer Support

  • Form Radio Buttons or Checkboxes not created in Acrobat 9 Pro

    If this needs to be placed in another forum, please just let me know.
    I am using Acrobat 9 Pro - current version - 9.4.3.
    I am using Word 2010
    I am running Windows 7
    I have created a simple form in Word.  Using the guidelines from the white paper - Acro9_designforms.pdf provided by Adobe, those fields where I want a radio button insert a checkbox instead when running the Form Wizard in Acrobat.
    My sample is exactly the same as in the sample used in the white paper.
    I used a circle symbol from the Wingdings font, as recommended by Adobe.
    Salutation
    O Mr.
    O Ms.
    O Dr.
    The end result is still a checkbox, even though it is a circle in the display.
    What am I doing wrong?
    I do not want to use LiveCycle Designer, as once the form is created in LiveCycle, the form fields can no longer be edited in Acrobat and I must maintain the ability to edit in Acrobat.
    Thank you for your assistance.

    Oh, the Wizard is a fabulous tool for basic forms.  And, since Adobe has given an extensive list of 'guidelines', which is what I am testing, I thought I would ask for feedback from those who do use it and from those who have had success in using it.
    The Wizard is mostly terrific, if you use the guidelines when setting up the source document.  It saves a lot of manual field creation and fixing later.  This one, though, is not working as expected.   So, I might be doing something wrong and the responses I seek are from those who have had success with the feature - not with manual workarounds, which of course we know can be achieved.  :)
    Nothing is "magic".  I don't think either I or Adobe are implying that it should be.  However, when they state a feature works in a certain way and I am not getting those results, I like to explore why.  Silly me.  hahaha
    The example I gave in my initial post is the only thing in the form, as I am testing the features for when I present this topic.
    I am merely trying to determine if others are having success (or not) when creating their document initially in Word (for example), using the guidelines that Adobe states for Radio Buttons being created.  If there is a certain font that someone is having success with other than those stated by Adobe, I would love to know. For me, so far, it is not.  If it's user error, then I would love to know from someone who has had success.
    Here is what Adobe states as part of their Radio Button form field guidelines when setting up a document in Word, for example:
    § Use circular objects or numbered buttons to in a single row or column to indicate radio buttons.
    § Use group labels to the left of or above each radio button group – otherwise they will default to check boxes. Field names are determined from the group labels and individual button labels from the text to the right of each location.
    § Use the following text labels to have radio buttons created automatically: Yes/No, M/F, Male/Female, Mr/Mrs/Miss/Dr.
    § Use one of the following group labels to have radio buttons created automatically: Salutation, Sex, Occupation.
    thanks

  • How to add image as radio button label instead of text

    In a pure AS3 project, is there a way to add use an image placed in the library/ Flex/AIR SDK compiler path instead of text as a radio button label?
    I've tried substituting character may unicode like:
    rb1.label = String.fromCharCode("0x2592");
    But how this displays is dependent on the device, font character availability. Displays unpredictably.
    Would prefer anyway to use an image that I can create in AI.
    Any help appreciated.

    OK. I tried this, and it works.
    (Hopefully, the image will display in the same location, next to the radio button, on different devices.)
    Thank you.

  • Flash 8 UI Component: Radio Button

    Hi:
    May someone kindly guide me how to bind a radio button to a
    text area? Perhaps without using action script.
    What's the trick of binding the Radio Button in Flash 8 as
    the attempt to bing ComboBox or some other UI components has no
    problem at all; but only the Radion Button.
    Thanks!

    Thanks for the response.
    After i posted I kept digging and found where the code is
    that sets the font for the Radio buttons in the quizzes when you do
    an export to flash. What I found out is listed below in case anyone
    else ever needs the information- hopefully it will save someone
    else some time.
    The ".as" file is --
    C:\Documents and Settings\YOUR NAME HERE\Local
    Settings\Application Data\Macromedia\Flash
    8\en\Configuration\Classes\AdobeCaptivate\quiz\CpMultipleChoice.as
    Strating at line 106 there is the following code
    p._font.name = "Arial";
    p._font.size = 12;
    p._name = "" + numAnswers;
    I was then able to make the font size larger to match the
    other text on the screen (i do have to say it's rather annoying
    that those attributes don't get exported from the captivate file,
    because i set the font properties before exporting - but i guess
    there is probably a reason for that)

  • 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 - text format

    Hi everyone!
    I can't seem to get this to work! I want the text on the radio buttons to wrap correctly as they reach the end of the stage (right now they just keep going forever. Here is the code I am using:
    package {
        import flash.display.MovieClip;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.TextFieldAutoSize;
        import flash.events.Event;
        import fl.controls.RadioButton;
        import fl.controls.RadioButtonGroup;
        public class QuizQuestion extends MovieClip {
            private var question:String;
            private var questionField:TextField;
            private var choices:Array;
            private var theCorrectAnswer:int;
            private var theUserAnswer:int;
            //variables for positioning:
            private var questionX:int = 25;
            private var questionY:int = 150;
            private var answerX:int = 25;
            private var answerY:int = 200;
            private var spacing:int = 25;
            public function QuizQuestion(theQuestion:String, theAnswer:int, ...answers) {
                //store the supplied arguments in the private variables:
                question = theQuestion;
                theCorrectAnswer = theAnswer;
                choices = answers;
                //create and position the textfield (question):
                questionField = new TextField();
                questionField.width = 775;
                questionField.wordWrap = true;
                questionField.multiline = true;
                questionField.text = question;
                //trace (questionField.width);
                questionField.autoSize = TextFieldAutoSize.LEFT;
                questionField.x = questionX;
                questionField.y = questionY;
                addChild(questionField);
                //Text Format for radio buttons
                var txtFmt:TextFormat = new TextFormat();
                txtFmt.font = "Arial";
                txtFmt.blockIndent = 2;
                txtFmt.color = 0x000000;
                txtFmt.size = 11;
                txtFmt.leading = 4;
                //create and position the radio buttons (answers):
                var myGroup:RadioButtonGroup = new RadioButtonGroup("group1");
                myGroup.addEventListener(Event.CHANGE, changeHandler);
                for(var i:int = 0; i < choices.length; i++) {
                    var rb:RadioButton = new RadioButton();
                    rb.setStyle("textFormat", txtFmt);
                    rb.textField.autoSize = TextFieldAutoSize.LEFT;
                    rb.label = choices[i];
                    rb.group = myGroup;
                    rb.value = i + 1;
                    rb.x = answerX;
                    rb.y = questionY + questionField.height + 25 + (i * spacing);
                    addChild(rb);
            private function changeHandler(event:Event) {
                theUserAnswer = event.target.selectedData;
            public function get correctAnswer():int {
                return theCorrectAnswer;
            public function get userAnswer():int {
                return theUserAnswer;
    As you can see, I managed to get the text field style of the radio buttons to use "txtFmt" as the style:
    rb.setStyle("textFormat", txtFmt);
    The issue:
    If I add:
    rb.textField.width = 352;
    rb.textField.height = 60;
    rb.textField.multiline = rb.textField.wordWrap = true;
    inside the "for loop" that creates the radio button, it just makes my text go all crazy! It only extends the text about 30 pixels after the radio button and then starts wrapping it, making it all stack on top of each other. How can I make it create the radio button, show the text on the text field, wrap around once it reached the edge of the stage and the continue the next button.
    thank you in advanced,
    Rafa.

    Kglad,
    I added the trace command to the 1st frame of my FLA, and it shows the "test" message on the output window.
    I am looking thru my code, but can't figure what could be overwritting it. This is what I have on the first AS file:
    package {
        import flash.display.MovieClip;
        import flash.text.TextField;
         import flash.text.TextFormat;
        import flash.text.TextFieldAutoSize;
        import flash.events.Event;
        import fl.controls.RadioButton;
        import fl.controls.RadioButtonGroup;
        public class QuizQuestion extends MovieClip {
            private var question:String;
            private var questionField:TextField;
            private var choices:Array;
            private var theCorrectAnswer:int;
            private var theUserAnswer:int;
            //variables for positioning:
            private var questionX:int = 25;
            private var questionY:int = 150;
            private var answerX:int = 25;
            private var answerY:int = 200;
            private var spacing:int = 25;
            public function QuizQuestion(whichQuestion:int, theQuestion:String, theAnswer:int, ...answers) {
                //store the supplied arguments in the private variables:
                question = theQuestion;
                theCorrectAnswer = theAnswer;
                choices = answers;
                   //Text Format for readio buttons
                   var txtFmt:TextFormat = new TextFormat();
                   txtFmt.font = "Arial";
                   txtFmt.blockIndent = 2;
                   txtFmt.color = 0x000000;
                   txtFmt.size = 12;
                   txtFmt.leading = 4;
                //create and position the textfield (question):
                questionField = new TextField();
                questionField.width = 770;
                   questionField.wordWrap = true;
                   questionField.multiline = true;
                   questionField.text = question;
                   //trace (questionField.width);
                questionField.autoSize = TextFieldAutoSize.LEFT;
                questionField.x = questionX;
                questionField.y = questionY;
                   questionField.setTextFormat(txtFmt);
                addChild(questionField);
                //create and position the radio buttons (answers):
                var myGroup:RadioButtonGroup = new RadioButtonGroup("group1");
                myGroup.addEventListener(Event.CHANGE, changeHandler);
                var rbY:Number = 100;
                   for(var i:int = 0; i < choices.length; i++) {
                    var rb:RadioButton = new RadioButton();
                    rb.setStyle("textFormat", txtFmt);
                    rb.textField.width = 352;
                    rb.textField.autoSize = "left";
                    rb.textField.multiline  = rb.textField.wordWrap = true;
                    rb.textField.autoSize = TextFieldAutoSize.LEFT;
                    rb.label = choices[i];
                    rb.group = myGroup;
                    rb.value = i + 1;
                    rb.x = 300;
                    rb.y = rbY;
                    rbY = rb.y+rb.height;
                    addChild(rb);
            private function changeHandler(event:Event) {
                theUserAnswer = event.target.selectedData;
            public function get correctAnswer():int {
                return theCorrectAnswer;
            public function get userAnswer():int {
                return theUserAnswer;
    This is the AS that creates the questions:
    package {
        import flash.display.MovieClip;
        import fl.controls.Button;
        import flash.events.MouseEvent;
        import flash.text.TextField;
        import flash.text.TextFieldAutoSize;
        public class QuizApp extends MovieClip {
            //for managing questions:
            private var quizQuestions:Array;
            private var currentQuestion:QuizQuestion;
            private var currentIndex:int = 0;
            //the buttons:
            private var prevButton:Button;
            private var nextButton:Button;
            private var finishButton:Button;
            //scoring and messages:
            private var score:int = 0;
            private var status:TextField;
            public function QuizApp() {
                quizQuestions = new Array();
                createQuestions();
                createButtons();
                createStatusBox();
                addAllQuestions();
                hideAllQuestions();
                firstQuestion();
            private function createQuestions() {
                quizQuestions.push(new QuizQuestion(1, "1. Which of the following statements about the government auditor’s use of audit standards is least accurate? ",
                                                                1,
                                                                "Government auditors may be subject to a variety or range of audit standards.",
                                                                "Government auditors are not subject to audit standards for some types of work.",
                                                                "If the audit organization follows The Institute of Internal Auditors’ (IIA’s) International Standards for the Professional Practice of Internal Auditing (Standards), those Standards prevail over laws and regulations.",
                                                                "Different sets of audit standards that might be followed have many similarities."));
            private function createButtons() {
                var yPosition:Number = stage.stageHeight - 125;
                prevButton = new Button();
                prevButton.label = "Previous";
                prevButton.x = 30;
                prevButton.y = yPosition;
                prevButton.addEventListener(MouseEvent.CLICK, prevHandler);
                addChild(prevButton);
                nextButton = new Button();
                nextButton.label = "Next";
                nextButton.x = prevButton.x + prevButton.width + 40;
                nextButton.y = yPosition;
                nextButton.addEventListener(MouseEvent.CLICK, nextHandler);
                addChild(nextButton);
                finishButton = new Button();
                finishButton.label = "Finish";
                finishButton.x = nextButton.x + nextButton.width + 40;
                finishButton.y = yPosition;
                finishButton.addEventListener(MouseEvent.CLICK, finishHandler);
                addChild(finishButton);
            private function createStatusBox() {
                status = new TextField();
                status.autoSize = TextFieldAutoSize.LEFT;
                status.y = stage.stageHeight - 80;
                addChild(status);
            private function showMessage(theMessage:String) {
                status.text = theMessage;
                   status.x = (stage.stageWidth / 5) - (status.width / 5);
            private function addAllQuestions() {
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    addChild(quizQuestions[i]);
            private function hideAllQuestions() {
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    quizQuestions[i].visible = false;
            private function firstQuestion() {
                currentQuestion = quizQuestions[0];
                currentQuestion.visible = true;
            private function prevHandler(event:MouseEvent) {
                showMessage("");
                if(currentIndex > 0) {
                    currentQuestion.visible = false;
                    currentIndex--;
                    currentQuestion = quizQuestions[currentIndex];
                    currentQuestion.visible = true;
                } else {
                    showMessage("This is the first question, there are no previous ones");
            private function nextHandler(event:MouseEvent) {
                showMessage("");
                   //This will not allow the user to continue forward unless they answer the current question
               /* if(currentQuestion.userAnswer == 0) {
                    showMessage("Please answer the current question before continuing");
                    return;
                if(currentIndex < (quizQuestions.length - 1)) {
                    currentQuestion.visible = false;
                    currentIndex++;
                    currentQuestion = quizQuestions[currentIndex];
                    currentQuestion.visible = true;
                } else {
                    showMessage("That's all the questions! Click Finish to Score, or Previous to go back");
            private function finishHandler(event:MouseEvent) {
                showMessage("");
                var finished:Boolean = true;
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    if(quizQuestions[i].userAnswer == 0) {
                        finished = false;
                        break;
                if(finished) {
                    prevButton.visible = false;
                    nextButton.visible = false;
                    finishButton.visible = false;
                    hideAllQuestions();
                    computeScore();
                } else {
                    showMessage("You haven't answered all of the questions");
            private function computeScore() {
                for(var i:int = 0; i < quizQuestions.length; i++) {
                    if(quizQuestions[i].userAnswer == quizQuestions[i].correctAnswer) {
                        score++;
                showMessage("You answered " + score + " correct out of " + quizQuestions.length + " questions.");
    I also have a timer running on my FLA, but even if I comment out the timer, I still get the same issue.
    thank you for your help,
    Rafa.

  • Radio buttons don't uncheck when another button is checked

    I have this strange problem with my radio buttons. I was taught that when a radio button is checked any other button that is checked becomes unchecked, but that's not what is happening here. This form is part of a php data base; therefore, the value of the name attribute in the form has to correspond with the value of the name attribute in the php file. It appears as long as I keep the default value in the name attribute in the form the buttons will uncheck when another is checked. But I can't keep the default name. Any suggestions? Here is the 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=UTF-8" />
    <title>Homework 7</title>
    <script type="text/javascript">
    function edits()
    if(document.getElementById("name").value=="")
        alert("Please enter your whole name.")
        return false;
        if(document.getElementById("jarreau").checked=="")
        alert("Please enter your whole name.")
        return false;
        else if(document.getElementById("aretha").checked=="")
        alert("Please enter your whole name.")
        return false;
        else if(document.getElementById("withers").checked=="")
        alert("Please enter your whole name.")
        return false;
        else if(document.getElementById("joel").checked=="")
        alert("Please enter your whole name.")
        return false;
        else if(document.getElementById("warwidk").checked=="")
        alert("Please enter your whole name.")
        return false;
        if(document.getElementById("rate").value=="")
        alert("Please enter your whole name.")
        return false;
        if(document.getElementById("email").value=="")
        alert("Please enter your whole name.")
        return false;
    else return true;
    </script>
    <style type="text/css">
    body {
        background-color: #F9F;   
    h1 {
        font-size: xx-large;
        color: #FFF;
    </style>
    </head>
    <body>
    <h1 font color="#fff">Old School Concert</h1>
    <table width="87%" border="0" cellspacing="0" cellpadding="2">
      <tr>
        <th align="left" width="19%" scope="col">Al Jarreau</th>
        <th align="left"width="13%" scope="col">Aretha Franklin</th>
        <th align="left"width="16%" scope="col">Bill Withers</th>
        <th align="left"width="19%" scope="col">Billy Joel</th>
        <th align="left"width="19%" scope="col">Dionne Warwick</th>
      </tr>
      <tr>
        <td><img src="al jarreau.jpg" width="247" height="204" alt="Al Jarreau" /></td>
        <td><img src="images/aretha franklin.jpg" width="198" height="204" alt="aretha franklin" /></td>
        <td><img src="Bill Withers.jpg" width="192" height="204" alt="Bill Withers" /></td>
        <td><img src="billy joel.jpg" width="225" height="204" alt="Billy Joel" /></td>
        <td><img src="Dionne Warwick.jpg" width="176" height="204" alt="Dionne Warwick" /></td>
      </tr>
    </table>
    <h2><font color="#FFFFFF">In order to keep bringing you the best in old school legends please fill out this brief survey.</font></h2>
    <form name="service" method="post" action="concert.php" />
    <label for="fname">First name:</label>
      <input name="name" type="text" id="fname" size="20" maxlength="15" />
      (optional)
      <br />
    <label for="lname">Last name:</label>
      <input name="name" type="text" id="lname" size="20" maxlength="15" />
      (optional)<br />
      <label>Which performance you liked best:</label><br />
        <p>
          <label>
            <input type="radio" name="jarreau1_0" value="radio" id="RadioGroup1_0" />
            Al Jarreau</label>
          <br />
          <label>
            <input type="radio" name="aretha1_1" value="radio" id="RadioGroup1_1" />
            Aretha Franklin</label>
          <br />
          <label>
            <input type="radio" name="withers" value="radio" id="RadioGroup1_2" />
            Bill Withers</label>
          <br />
          <label>
            <input type="radio" name="joel" value="radio" id="RadioGroup1_3" />
            Billy Joel</label>
          <br />
          <label>
            <input type="radio" name="warwidk" value="radio" id="RadioGroup1_4" />
            Dionne Warwick</label>
        </p>
    <br />
      <label for="rate">On a scale of 1 to 10 how would you rate this concert?</label>
      <br />
        <input name="rate" type="text" id="rate" size="5" maxlength="2" />
      <label for="email"><br />
        Your email address:</label>
      <br />
    <input name="email" type="text" id="email" size="45" maxlength="45" />
    </p>
    <p>
    <label for="comment">Your comments:</label>
        <textarea name="comment" cols="50" rows="5" id="comment"></textarea>
    </p>
    <input type="button" value="submit" name="" id="" onclick="edits()" />
    </form>
    </body>
    </html>

    You are completely right. Part of my problem is how to ask the question.
    The buttons now uncheck. When I submit the form I'm suppose to get a php
    output that shows all the fields completed. And I also need for Dreamweaver
    to make an alert message if no button is checked?  Is that possible? Or do
    I have to use javascript code for that? So far the form won't submit until
    I clean up javascript if else statements to create an alert box if a button
    is not checked or false. But I don't need an alert message for each button,
    right? Just for the radio group? So that means I have to give the radio
    group a name, right? But I don't see a way to do that so far. Any
    suggestions. Oh, here the link:
    http://ciswebs.smc.edu/cis54/tyson_schweidel/concert.htm

  • Nee help in changing de radio button

    the output wil have the radio button, but i d0n wan the radio button.. wat shld i change?
    change to List izit? when i change to List, there's sumtin wron with my fm3.append(imageItem);
    thx
    import java.io.*;
    import java.util.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    public class Screensaver extends MIDlet implements CommandListener {
         // declare the form
         private Form fm1;
         private Form fm2;
         private Form fm3;
         // declare image
         private Image pix;
         private ImageItem imageItem;
         // declare commands
         private Command okayCommand;
         private Command backCommand;
         private Command cancelCommand;
         private Command saveCommand;
         // declare display
         private Display display;
         // Choice Group of preferences
         private ChoiceGroup choice;
         // declare TextField, RecordStore
         private TextField tx_field;
         private RecordStore record;
         // declare byteArray
         ByteArrayOutputStream output = new ByteArrayOutputStream();
         task tasking = new task();
    Timer timer = new Timer();
    int currentId=1;
    int timeInterval=1000;
    boolean u = false;
    public Screensaver()
              display = Display.getDisplay(this);
    // Specify a font face, style and size
    //Font font = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_PLAIN, Font.SIZE_MEDIUM);
              okayCommand = new Command("OK",Command.SCREEN,1);
              backCommand = new Command("Back", Command.BACK, 0);
              cancelCommand = new Command("Cancel", Command.BACK,0);
              saveCommand = new Command("Save",Command.SCREEN,1);
    //startApp()
    public void startApp()
              // form for the main menu
              fm1 = new Form(".: Main Menu :.");
              choice = new ChoiceGroup("Choice Label", Choice.EXCLUSIVE);
              choice.append("Start Screensaver",null);
              choice.append("Options",null);
              choice.append("Exit",null);
              fm1.append(choice);
              fm1.addCommand(okayCommand);
              fm1.setCommandListener(this);
              // form for option
              fm2 = new Form(".: Options :.");
              // create new textfield to enter time interval
              tx_field = new TextField("Time Interval(sec)","",5,TextField.ANY);
              fm2.append(tx_field);
              // saveCommand to save the time interval
              fm2.addCommand(saveCommand);
              fm2.addCommand(backCommand);
              fm2.setCommandListener(this);
              //form for the screensaver
              fm3 = new Form(".: Screensaver :.");
              fm3.addCommand(backCommand);
              fm3.setCommandListener(this);
              display.setCurrent(fm1);
              // cannot stop the screensaver//
    //pauseApp()
    public void pauseApp()
    //destroyApp()     
    public void destroyApp(boolean u)
              notifyDestroyed();
    // handle commands to change time interval and to display menu again
    public void commandAction(Command c, Displayable d)
              // saving the time interval
              if (c == saveCommand)
                   Integer inter = new Integer(0);
                   timeInterval = inter.parseInt(tx_field.getString());
                   timeInterval = timeInterval * 1000;
                   // display menu again
                   display.setCurrent(fm1);
              // backCommand, will return to main menu, setCurrent(fm1)
              else if (c == backCommand)
                   // display menu again
                   display.setCurrent(fm1);
              else if (c == okayCommand)
                   // getSelectedIndex() ==0, means the 1st icon is selected (start screensaver)
                   if (choice.getSelectedIndex() == 0)
                        display.setCurrent(fm3);     
                        timer.schedule(tasking, 0, timeInterval);
                   // the option is selected, so display fm2
                   else if (choice.getSelectedIndex() == 1)
                        // display screensaver
                        display.setCurrent(fm2);
                   // exit option is selected, so us destroyApp
                   else
                        boolean testing = true;
                        // exit
                        this.destroyApp(testing);
    public class task extends TimerTask {
         public void saveEntry (String entry_E) throws RecordStoreException {
              byte [] data = entry_E.getBytes();
              record.addRecord (data, 0, data.length);
    public void run(){
                        // de nx 4lines determine whether the pix cn move anot..
                                  if(fm3.size()==1)
                                                 fm3.delete(fm3.size()-1);
         try {
                             // open recordstore
                             record = RecordStore.openRecordStore ("screensaver", true);
                                  if(u==false)
                                  this.saveEntry("/1.png");
                                       this.saveEntry("/2.png");
                                       this.saveEntry("/3.png");
                                       this.saveEntry("/4.png");
                             output.write(record.getRecord(currentId),0,record.getRecord(currentId).length);
                   catch (RecordStoreException e)
                   try {     
                             // layout of image
                             pix = pix.createImage(output.toString());
                             // Convert the image to immutable
                             imageItem = new ImageItem(null, pix, ImageItem.LAYOUT_CENTER |
                             ImageItem.LAYOUT_NEWLINE_AFTER | ImageItem.LAYOUT_NEWLINE_BEFORE,"(Image)");
                   catch (IOException e)
                   // display imageItem to fm3(screensaver)
                   fm3.append(imageItem);
                   currentId++;
                   u = true;
                   output.reset();
                   // 4pix, so currentId==5
                   if(currentId==5)
                   {   //display currentId==1 1st (1st pix)
                        currentId=1;
    }

    did u chk my reply..
    "the "group" the radio buttons will be placed in. Radio buttons in the same group will have mutually exclusive selection, regardless of their physical placement on the page. See selectOneRadio - it groups the radios automatically. The reason you would use selectBooleanRadio instead of selectOneRadio is that you have more control over the placement of each radio. Using a selectBooleanRadio alone is uncommon; in any case, you must set the group attribute."
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_selectBooleanRadio.html

  • Dynamic forms using radio buttons, any ideas?

    Hello;
    I am writting a multi-form section in a web site. I have the
    form built up to the point where it sends the email. I have some
    issues I am trying to figure out and need some help. First let me
    show how this is set up, then the questions:
    The set up:
    Page 1 personal info
    <cfform action="PT2.cfm" method="post"
    enctype="application/x-www-form-urlencoded" name="sponsorOrder"
    enablecab="no">
    all the form fields that need to be filled for contact info
    here
    <input type="reset" name="Reset" value="Reset">
    <input type="submit" name="Submit" value="Proceed to Step
    2">
    </cfform>
    PAGE 2:
    <cfform action="SENDMAIL.cfm" method="post"
    enctype="application/x-www-form-urlencoded" name="sponsorOrder"
    enablecab="no">
    <input name="Fname" type="hidden"
    value="<cfoutput>#form.Fname#</cfoutput>">
    <!-- all the other hidden fields from page 1 go here
    --->
    <input type="radio" name="sponsor" value="1">
    <input type="radio" name="sponsor" value="2">
    <!-- there are 7 radio buttons to select from on this
    page. All with the same name="sponsor" -->
    <input type="reset" name="Reset" value="Reset">
    <input type="submit" name="Submit" value="Submit">
    </cfform>
    SENDMAIL page:
    <cfset subject = "Sponsorship Order">
    <cfset email = "#form.email#">
    <!----------------------------------------------------------------------->
    <cfmail to="[email protected]"
    cc="[email protected]"
    from="#form.email#"
    subject="Custom Order Request"
    server="mail.myserver.com"
    port=25
    type="HTML">
    <font face="Verdana, Arial, Helvetica, sans-serif"
    color="##000000" size="2">
    <b>Collected information</b><br>
    <b>Customer First Name:</b>
    #form.Fname#<br>
    <!-- all the rest of the collected contact info goes here
    -->
    <!-- HOW do I bring in the radio button choice here? Is
    this the right way? -->
    <cfif "form.sponsor" = "1">
    <b>Selection 1:</b> the info they get from
    selection 1 here <br>
    </cfif>
    <cfif "form.sponsor" = "2">
    <b>Selection 2:</b>The info that goes with
    selection 2 goes here<br>
    </cfif>
    <!-- there are 5 more if statements that need to run here
    for the rest of the radio selections -->
    </cfmail>
    <cfinclude template="thankyou.cfm">
    THANK YOU PAGE:
    Now on this page is where I get lost. I need to bring the
    selection from the radio buttons over to here and serve up a button
    according to the radio button selected back on page 2. Is this how
    I do that? The same as I did in the sendmail?
    <cfif "form.sponsor" = "1">
    they get this button and info
    </cfif>
    <cfif "form.sponsor" = "2">
    they get this button and info
    </cfif>
    <!-- and it goes on for 5 more selections -->
    Those are my questions, as well as this.
    On page 2 I need to make it impossible to pass that page
    without making a selection. How do I do that with radio buttons?
    Can anyone help me?
    Thank you.
    Phoenix

    Irish-Phoenix wrote:
    > Hello;
    > I am writting a multi-form section in a web site. I have
    the form built up to
    > the point where it sends the email. I have some issues I
    am trying to figure
    > out and need some help. First let me show how this is
    set up, then the
    > questions:
    >
    > The set up:
    > Page 1 personal info
    >
    > <cfform action="PT2.cfm" method="post"
    > enctype="application/x-www-form-urlencoded"
    name="sponsorOrder" enablecab="no">
    >
    > all the form fields that need to be filled for contact
    info here
    >
    > <input type="reset" name="Reset" value="Reset">
    > <input type="submit" name="Submit" value="Proceed to
    Step 2">
    > </cfform>
    >
    > PAGE 2:
    >
    > <cfform action="SENDMAIL.cfm" method="post"
    > enctype="application/x-www-form-urlencoded"
    name="sponsorOrder" enablecab="no">
    > <input name="Fname" type="hidden"
    value="<cfoutput>#form.Fname#</cfoutput>">
    > <!-- all the other hidden fields from page 1 go here
    --->
    > <input type="radio" name="sponsor" value="1">
    > <input type="radio" name="sponsor" value="2">
    > <!-- there are 7 radio buttons to select from on this
    page. All with the same
    > name="sponsor" -->
    > <input type="reset" name="Reset" value="Reset">
    > <input type="submit" name="Submit" value="Submit">
    > </cfform>
    >
    > SENDMAIL page:
    > <cfset subject = "Sponsorship Order">
    > <cfset email = "#form.email#">
    >
    <!----------------------------------------------------------------------->
    > <cfmail to="[email protected]"
    > cc="[email protected]"
    > from="#form.email#"
    > subject="Custom Order Request"
    > server="mail.myserver.com"
    > port=25
    > type="HTML">
    > <font face="Verdana, Arial, Helvetica, sans-serif"
    color="##000000" size="2">
    >
    Collected information<br>
    >
    Customer First Name: #form.Fname#<br>
    > <!-- all the rest of the collected contact info goes
    here -->
    >
    > <!-- HOW do I bring in the radio button choice here?
    Is this the right way? -->
    > <cfif "form.sponsor" = "1">
    >
    Selection 1: the info they get from selection 1 here
    <br>
    > </cfif>
    > <cfif "form.sponsor" = "2">
    >
    Selection 2:The info that goes with selection 2 goes
    here<br>
    > </cfif>
    > <!-- there are 5 more if statements that need to run
    here for the rest of the
    > radio selections -->
    > </cfmail>
    > <cfinclude template="thankyou.cfm">
    >
    > THANK YOU PAGE:
    >
    > Now on this page is where I get lost. I need to bring
    the selection from the
    > radio buttons over to here and serve up a button
    according to the radio button
    > selected back on page 2. Is this how I do that? The same
    as I did in the
    > sendmail?
    >
    > <cfif "form.sponsor" = "1">
    > they get this button and info
    > </cfif>
    > <cfif "form.sponsor" = "2">
    > they get this button and info
    > </cfif>
    > <!-- and it goes on for 5 more selections -->
    >
    > Those are my questions, as well as this.
    > On page 2 I need to make it impossible to pass that page
    without making a
    > selection. How do I do that with radio buttons?
    > Can anyone help me?
    > Thank you.
    >
    > Phoenix
    >
    hi phoenix!
    ok, let's see...
    your "thank you" page is cfincluded in the "sendmail" page,
    so it will
    have all the passed form vars available to it, which means
    you do not
    have to store the radio button selection in the session scope
    or
    anywhere else...
    i think a cfswitch/cfcase construct to check for selected
    radio button
    will serve you better than lots of cfif/cfelseif/cfelse...
    as for preventing submission of page2 without selecting a
    radio button
    first:
    a) pre-select one
    b) use client-side javascript to make sure one is selected
    (use an
    onsubmit event in the form tag or onclick event in the button
    - you will
    have to change the button type from submit to button, and
    change its
    name from submit to something else - there are possible
    issues with
    having a button named submit in your form if you are
    suibmitting the
    form through js...
    c) you could also use server-side cfml to check that a radio
    button is
    selected but it requires a lot of extra code and changes to
    your
    forms/pages...
    Azadi Saryev
    Sabai-dee.com
    Vientiane, Laos
    http://www.sabai-dee.com

  • I want to add radio button selected value in shopping cart

    hi
    i am new to java
    and i am doing shopping cart project
    and i want to aad radio button selected value in cart but only one value.
    i am doing that in jsp.
    when iam adding that value the name of radio button is printed.
    and in remove page nothing displyed
    pls help me
    Thanks in advance.
    my code is-
    index.jsp
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    <html>
    <head>
    <title>Shopping cart</title>
    <style>
    * { font-size: 12px; font-family: Verdana }
    input { border: 1px solid #ccc }
    </style>
    </head>
    <body>
    <jsp:declaration>
    java.util.Enumeration parms;
    java.util.Enumeration values;
    </jsp:declaration>
    <jsp:scriptlet>
    parms = request.getParameterNames();
    values = request.getParameterNames();
    while(parms.hasMoreElements()) {
    String name = (String) parms.nextElement();
    String value = (String) values.nextElement();
    session.setAttribute(name, value);
    </jsp:scriptlet>
    <img src="images/add.png" onclick="document.location='index.jsp'">
    <img src="images/remove.png" onclick="document.location='remove.jsp'">
    <img src="images/cart.png" onclick="document.location='cart.jsp'">
    <h2>Add to shopping cart</h2>
    <form method="POST" action="index.jsp">
    <table>
    <tr>
    <td><input type="radio" name="radio" value="$10.00" checked></td>
    <td>$10.00</td>
    </tr>
    <tr>
    <td><input type="radio" name="radio" value="$15.00"></td>
    <td>$15.00</td>
    </tr>
    <tr>
    <td><input type="radio" name="radio" value="$20.00"></td>
    <td>$20.00</td>
    </tr>
    <tr>
    <td><input type="radio" name="radio" value="$25.00"></td>
    <td>$25.00</td>
    </tr>
    <tr>
    <td><input type="radio" name="radio" value="$30.00"></td>
    <td>$30.00</td>
    </tr>
    <tr>
    <td><input type="radio" name="radio" value="$35.00"></td>
    <td>$35.00</td>
    </tr>
    </table>
    <br><br>
    <input type="submit" value="submit">
    </form>
    </body>
    </html>
    cart.jsp
    <html>
    <head>
    <title>Shopping cart</title>
    <style>
    * { font-size: 12px; font-family: Verdana }
    </style>
    </head>
    <body>
    <jsp:declaration>
    java.util.Enumeration parms;
    </jsp:declaration>
    <img src="images/add.png" onclick="document.location='index.jsp'">
    <img src="images/remove.png" onclick="document.location='remove.jsp'">
    <img src="images/cart.png" onclick="document.location='cart.jsp'">
    <h2>The shopping cart</h2>
    <jsp:scriptlet><![CDATA[
    java.util.Enumeration content = session.getAttributeNames();
    while (content.hasMoreElements()) {
        out.println(content.nextElement());
        out.println("<br>");
    ]]></jsp:scriptlet>
    </body>
    </html>
    remove.jsp
    <html>
    <head>
    <title>Shopping cart</title>
    <style>
    * { font-size: 12px; font-family: Verdana }
    input { border: 1px solid #ccc }
    </style>
    </head>
    <body>
    <jsp:declaration>
    java.util.Enumeration parms;
    </jsp:declaration>
    <jsp:scriptlet>
    parms = request.getParameterNames();
    while(parms.hasMoreElements()) {
    String name = (String) parms.nextElement();
    session.removeAttribute(name);
    </jsp:scriptlet>
    <img src="images/add.png" onclick="document.location='index.jsp'">
    <img src="images/remove.png" onclick="document.location='remove.jsp'">
    <img src="images/cart.png" onclick="document.location='cart.jsp'">
    <h2>Remove items from cart</h2>
    <form method="get" action="remove.jsp">
    <table>
    <% if (session.getAttribute("$10.00") != null) { %>
    <tr>
    <td><input type="radio" name="radio"></td><td>$10.00</td>
    </tr>
    <% } %>
    <% if (session.getAttribute("$15.00") != null) { %>
    <tr>
    <td><input type="radio" name="radio"></td><td>$15.00</td>
    </tr>
    <% } %>
    <% if (session.getAttribute("$20.00") != null) { %>
    <tr>
    <td><input type="radio" name="radio"></td><td>$20.00</td>
    </tr>
    <% } %>
    <% if (session.getAttribute("$25.00") != null) { %>
    <tr>
    <td><input type="radio" name="radio"></td><td>$25.00</td>
    </tr>
    <% } %>
    <% if (session.getAttribute("$30.00") != null) { %>
    <tr>
    <td><input type="radio" name="radio"></td><td>$30.00</td>
    </tr>
    <% } %>
    <% if (session.getAttribute("$35.00") != null) { %>
    <tr>
    <td><input type="radio" name="radio"></td><td>$35.00</td>
    </tr>
    <% } %>
    </table>
    <br><br>
    <input type="submit" value="submit">
    </form>
    </body>
    </html>

    i used this where park .visits is the java class for
    visit object that contains getResort() method
    now error has gone but nothing is stored in the
    actionform class I would take that to mean the List
    1. does not contain a collection of Visit. You can check that by printing some debug statements inside the loop
    2. contains collection of visit objects. However the visit objects return null for getResort().
    Why dont you debug by printing out the objects from wherever you sit it in request/session scop (i.e in your servlet/web-handler)
    ram.

  • Help with styling radio buttons

    Hi can anyone tell me if its possible to add a vorder colour and a background to the selected radio button and text on this website http://62.6.176.22/products/leaflets.aspx?Id=145399&Key=F8FA69A7-4AC5-4986-97F3-6C8C9520FA 87. This is a site which is supplied to us and we can only edit the CSS with our own styles but not the code. Any pointers will be much appreciated

    Actually...
    I may have spoken too soon.
    I've been doing some playing around and came up with this. Is this kind-of what you're looking for?
    <!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=utf-8" />
    <title>Untitled Document</title>
    <style>
    input[type="radio"] {
        display:block;
        float:left;
        height:20px;
        width:20px;
    label {
        display:block;
        background-color:#bbb;
        padding:5px 10px;
        font-family:Verdana;
        font-size:12px;
        border:1px solid #bbb;
    input[type="radio"]:checked + label {
        background-color:#6F6;
        border:1px solid green;
    </style>
    </head>
    <body>
    <div style="margin:auto; width:552px;">
    <div>
        <input type="radio" id="radio1" name="radios" value="value1" checked>
        <label for="radio1">Button1 - Notes would go here (this is the radio button Label)</label>
        <input type="radio" id="radio2" name="radios" value="value2">
        <label for="radio2">Button2 - Notes would go here (this is the radio button Label)</label>
        <input type="radio" id="radio3" name="radios" value="value3">
        <label for="radio3">Button3 - Notes would go here (this is the radio button Label)</label>
    </div>
    </div>
    </body>
    </html>

Maybe you are looking for

  • Two Songs Open at Once? Nightmare.

    Don't try it. Trust me on this if you want to maintain your sanity. When you try to open a second song, an alert comes up saying "not recommended unless you're copying parts between two songs" (or something to that effect). Well, they're not wrong. I

  • Editor in JDeveloper

    Unable to edit my code in JDeveloper. I checked with all the options in the menu. Please help regarding this.

  • Maybe i am not asking this correctly

    i manually manage my music, primarily because i don't want to have to sync my podcasts (i like to keep some of them on there forever). so when i click on a playlist and pick sync nothing happens. in the status bar at the top of itunes is says its syn

  • Capture iPad app with captivate 6 or 7?

    Hello, I am still using captivate 5 and I think it requires additional software to record  from mobile devices. Does anyone know if it is possible to record an iPad app when using either Captivate 6 or 7? thanks a bunch

  • ISA 500 Series DHCP Options 66,67 and 150 does NOT work

    Options 66,67 and 150 on both the ISA 550 and 570 does not work. I've tested it and ran a packet capture, there's nothign showing these options being issues by a client ACK. Has anyone have this working as yet, see image for an example