How to add groups of radio buttons values and show the answers?

I have eight groups of option buttons. The student must select the button from each group. It is a survey of personal intrestet. If each of the groups will have a button with related values. I need to add values and display the results.

I have been looking for help, but can't find anything that explains how to add values of radio buttons and display the answers.

That's what I got so far:

The option button ActionScript 3.0 / / Avraham Saltoun / / solutions to say-web dot com / / FREE to USE, COPY and DISTRIBUTE

Import fl.controls.RadioButton;
Import fl.controls.RadioButtonGroup;
These libraries must be imported
in order to access the properties and methods of the Radio button.


We will Appply formatting
for the radial buttons
var format: TextFormat = new TextFormat;
format. Size = 16;
format.font = "Trebuchet MS"
format. Color = 0xFFFFFF;

myNonconformist.label = "a maverick".
myConcreteThinker.label = "a concrete thinker."
myNaturalWithNumbers.label = 'a natural with numbers. "
myAnalytical.label = "Analytics."
myAssertive.label = "assertive".
myIdealistic.label = "Idealistic."
myCareful.label = 'Careful ';
myProblemSolver.label = "a problem solver."
myConscientious.label = 'consciousness '.
myCreative.label = "Creative."
myPrecise.label = "precise."
myEfficient.label = "effective."
myEnergetic.label = 'energetic ';
myExpressive.label = 'Expressive ';
myFriendly.label = 'Friendly ';
myPersistent.label = 'Permanent '.
myHelpful.label = "fairly useful";
myInnovative.label = "innovative";
myInquisitive.label = ' Inquisitive/Curious. "
myAccurate.label = "precise."
myEnthusiastic.label = "enthusiasts";
myInsightful.label = "insightful";
myIntuitive.label = 'intuitive ';
myMechanicallyInclined.label = 'mechanically inclined. "
myObservant.label = 'observer ';
myOutgoing.label = "outgoing";
myPatient.label = "Patient";
myPersuasive.label = "persuasive."
myRealistic.label = 'realistic ';
myPractical.label = 'practice ';
myScientific.label = 'scientific ';
mySelfconfident.label = "safe";
myImaginative.label = "imaginative."
mySociable.label = "Sociable".
myStraightforward.label = "direct."
myUnderstanding.label = "understanding."

Now, let's apply the style
created for our labels
myNonconformist.setStyle ("textFormat", format);
myConcreteThinker.setStyle ("textFormat", format);
myNaturalWithNumbers.setStyle ("textFormat", format);
myAnalytical.setStyle ("textFormat", format);
myAssertive.setStyle ("textFormat", format);
myIdealistic.setStyle ("textFormat", format);
myCareful.setStyle ("textFormat", format);
myProblemSolver.setStyle ("textFormat", format);
myConscientious.setStyle ("textFormat", format);
myCreative.setStyle ("textFormat", format);
myPrecise.setStyle ("textFormat", format);
myEfficient.setStyle ("textFormat", format);
myEnergetic.setStyle ("textFormat", format);
myExpressive.setStyle ("textFormat", format);
myFriendly.setStyle ("textFormat", format);
myPersistent.setStyle ("textFormat", format);
myHelpful.setStyle ("textFormat", format);
myInnovative.setStyle ("textFormat", format);
myInquisitive.setStyle ("textFormat", format);
myAccurate.setStyle ("textFormat", format);
myEnthusiastic.setStyle ("textFormat", format);
myInsightful.setStyle ("textFormat", format);
myIntuitive.setStyle ("textFormat", format);
myMechanicallyInclined.setStyle ("textFormat", format);
myObservant.setStyle ("textFormat", format);
myOutgoing.setStyle ("textFormat", format);
myPatient.setStyle ("textFormat", format);
myPersuasive.setStyle ("textFormat", format);
myRealistic.setStyle ("textFormat", format);
myPractical.setStyle ("textFormat", format);
myScientific.setStyle ("textFormat", format);
mySelfconfident.setStyle ("textFormat", format);
myImaginative.setStyle ("textFormat", format);
mySelfconfident.setStyle ("textFormat", format);
mySociable.setStyle ("textFormat", format);
myStraightforward.setStyle ("textFormat", format);
myUnderstanding.setStyle ("textFormat", format);

Event listeners
Define waiting for the compiler
for a click
myNonconformist.addEventListener (MouseEvent.CLICK, whoAmI);
myConcreteThinker.addEventListener (MouseEvent.CLICK, whoAmI);
myNaturalWithNumbers.addEventListener (MouseEvent.CLICK, whoAmI);
myAnalytical.addEventListener (MouseEvent.CLICK, whoAmI);
myAssertive.addEventListener (MouseEvent.CLICK, whoAmI);
myIdealistic.addEventListener (MouseEvent.CLICK, whoAmI);
myCareful.addEventListener (MouseEvent.CLICK, whoAmI);
myProblemSolver.addEventListener (MouseEvent.CLICK, whoAmI);
myConscientious.addEventListener (MouseEvent.CLICK, whoAmI);
myCreative.addEventListener (MouseEvent.CLICK, whoAmI);
myPrecise.addEventListener (MouseEvent.CLICK, whoAmI);
myEfficient.addEventListener (MouseEvent.CLICK, whoAmI);
myEnergetic.addEventListener (MouseEvent.CLICK, whoAmI);
myExpressive.addEventListener (MouseEvent.CLICK, whoAmI);
myFriendly.addEventListener (MouseEvent.CLICK, whoAmI);
myPersistent.addEventListener (MouseEvent.CLICK, whoAmI);
myHelpful.addEventListener (MouseEvent.CLICK, whoAmI);
myInnovative.addEventListener (MouseEvent.CLICK, whoAmI);
myInquisitive.addEventListener (MouseEvent.CLICK, whoAmI);
myAccurate.addEventListener (MouseEvent.CLICK, whoAmI);
myEnthusiastic.addEventListener (MouseEvent.CLICK, whoAmI);
myInsightful.addEventListener (MouseEvent.CLICK, whoAmI);
myIntuitive.addEventListener (MouseEvent.CLICK, whoAmI);
myMechanicallyInclined.addEventListener (MouseEvent.CLICK, whoAmI);
myObservant.addEventListener (MouseEvent.CLICK, whoAmI);
myOutgoing.addEventListener (MouseEvent.CLICK, whoAmI);
myPatient.addEventListener (MouseEvent.CLICK, whoAmI);
myPersuasive.addEventListener (MouseEvent.CLICK, whoAmI);
myRealistic.addEventListener (MouseEvent.CLICK, whoAmI);
myPractical.addEventListener (MouseEvent.CLICK, whoAmI);
myScientific.addEventListener (MouseEvent.CLICK, whoAmI);
mySelfconfident.addEventListener (MouseEvent.CLICK, whoAmI);
myImaginative.addEventListener (MouseEvent.CLICK, whoAmI);
mySelfconfident.addEventListener (MouseEvent.CLICK, whoAmI);
mySociable.addEventListener (MouseEvent.CLICK, whoAmI);
myStraightforward.addEventListener (MouseEvent.CLICK, whoAmI);
myUnderstanding.addEventListener (MouseEvent.CLICK, whoAmI);
Note that all lead to the same function.

It will probably be better for you to do it the hard way and assign labels, values and groups in the programming environment using the settings panel.

Tags: Adobe Animate

Similar Questions

  • Apex 3.2 How return_value copy Group of radio buttons in onClick

    Hello

    Sorry if this is a faq really, but I can't find it the answer
    I'm not good at Javascript, but I need this time

    I have a page with a group of radio buttons (: P30_AddressChoice)
    filled with a dynamic lov.

    Now I want to use the onClick/Onchange or what ever in Javascript to copy the return_value to something else (: P30_AddressInput)

    So I put it in the onClick = "javascript element HTML F.E.A.:getAddress()"; "
    But where do I go from here?
    Where to create the getAddress function? and what need I type here :)

    < script type = "text/javascript" >
    function getAddress() {}

    : P30_AddressInput: =: P30_AddressChoice

    }
    < /script >

    Helllp :) need to read JavaScript

    Published by: user4486075 on June 30, 2011 02:52

    Hi Jerry,

    Please change your user ID to something different and nicer than the default userXXXX.

    Subject of your question, it is not necessary to use a function because you need only one line of code, so you can write the line directly after "javascript:" in your HTML Form element attributes. Use the following code in your post of radio F.E.A. HTML:

    onClick="javascript:{$s('P30_AddressInput', this.value); }";
    

    In case you want to use a function, you must write code in the HTML of your page header attribute:

    
    

    or if you use APEX 4.0 (I am not sure if this attribute exists also in previous versions of the APEX), in the "function and Variable overall statement" "JavaScript" section, but removes the

  • How to add a text in an ark and change the perspective of the letters

    There is a way to get this text arch with the guy on the path tool or someone can help me and let me know how I can make this text in Adobe Illustrator

    artwork776325.jpg

    vduron,

    You can:

    (1) create a circle where you adopt the basic letter;

    (2) in the paragraph palette, set to center align;

    (3) in the character palette, set the size of police desired;

    (4) with the path text tool (text tool ClickHold until you see the other (s) fly, click on the upper anchor of the circular trajectory of 1) and start typing.

    You can set the vertical offset of the character palette (you may need to click on the arrow for the options), and you can adjust the font size.

  • validation of a group of radio buttons

    Hello
    I have an exclusive raido button group contains "I agree" and "I disagree". By default, I do not accept should I get selected when the form is loaded and if the user clicks, I agree then that the shape must submit.

    I tried to script: writes the script on the commit event of the Group of radio buttons, but initially when the form loads, the validation is triggered because by default, I disagree is selected.

    Pls let me know how can I achieve this requirement?

    Thank you

    Ludovic

    Hi Eric,.

    We use a hidden button to submit the form. In the actual submit button, if satisfied of our condition of radiobutton we can call the click/mouseUp event of the hidden submit button.

    HiddenButton: Button type: submit. Specify the url of the site/mail you want to submit. Make it hidden / exclusion of the layout (at your convenience)

    Then in the actual submit button.

    If (AgreementRadioButton.value is "I oppose")

    {

    HiddenEmail.execEvent ("click");

    }

    on the other

    {

    App.Alert ("Please select I agree");

    }

    Note: The actual submit button would be simply a button with no bids.

    Hope this will help.

    Thank you.

    Sidonie.

  • How can I change the value of a group of radio buttons to a bidding process?

    I have an interactive report on page 1, and I'm passing the value of a column to the page of the two group of radio buttons.

    I wish I could switch this radio group and pass the parameter currently displayed in the submission process:

    #OWNER #. (CHPWD)
    PUSERNAME = >: P2_USERNAME,.
    PPASSWORD = >: P2_NEWPASSWORD,.
    (PUNLOCK = >: P2_RADIO_LOCKED);

    : P2_RADIO_LOCKED is not acquire any value that I can see.

    Published by: xerosaburu on August 17, 2009 15:07

    Published by: xerosaburu on August 17, 2009 15:08

    Hello:

    You could modify the code for the page process of implantation of the rocker.

    begin
    #OWNER#.CHPWD(
    PUSERNAME => :P2_USERNAME,
    PPASSWORD => :P2_NEWPASSWORD,
    PUNLOCK => :P2_RADIO_LOCKED);
    select decode(:P2_RADIO_LOCKED,'1','2','2','1) into :P2_RADIO_LOCKED from dual;
    end;
    

    CITY

  • How to programmatically set the option button selected on a group of radio buttons

    Hello, I have another question for you.

    How can I set an option specifically button selected programmatically on a group of Radio buttons? I think it's very simple, but I can't find a solution.

    Thank you in advance.

    You can use the SetActiveCtrl function

  • How to name a new group automatically radio buttons?

    Hello!

    I have a problem. I have a form with several fields type. The process:

    Step 1. I create the Text1 field (I won't name the fields, leave the default name).

    Step 2. Create a group of radio buttons, automatically named Group2 with three options (choice1, lendemain2, choice 3)

    Step 3. Create field Text3 and Text4 .

    Step 4. Create the check Box5.

    Step 5. (The problem)! I want to create a new radio (independent) group, but the Acrobat ' t not to create a new group named groupe6 (or even), but gives new options for the Group 2 in step 2.

    How can I configure which allow the new group to get a new name, instead to extend the existing group with the new options? I know that when I create a new button, I can rename the group, but I would get an automatic if possible method.

    Thank you!!!

    I'm afraid that you'll just have to rename when you want to start a new group. Radio buttons are unique, because it makes sense to automatically keep the new radio buttons in the same group, as opposed to automatically rename the fields with each new addition of the same type of field. I guess Adobe could change things so that if another field type a new group name was added after the last button of the radio, is used if another radio button is added, you can submit a feature request for this.

  • Y at - it a shortcut to add multiple groups of radio buttons?

    Y at - it a shortcut to add multiple groups of radio buttons?    I have several lines with 4 columns each roows all different.

    This process can be automated by using a script. For more information contact me private.

  • OnChange on a group of radio buttons

    Hello

    How does the onchange event in a group of radio buttons? Any time that radiobutton control gets a value, the onchange event is triggered?

    In my case, I have a page which receives as parameter the default value of a radiobutton. In this case, the onchange event is triggered? This is the case, then does not.

    If anyone can help with this question?

    Thank you!

    Jeannie

    Delete what you have for the "onload" event Then in the "HTML" section of the page definition add footer

    
    

    CITY

  • Question about disabling a single button in a group of radio buttons

    I'm working with Acrobat version 9.5.5.  I am trying to create a PDF form to fill live rather than on a web form.  Most of it's over, but I have a problem that I can't solve.

    At the beginning of the form, I have a group of radio buttons.  The three options in the group are 'Premium Member', 'Réguiler' and "Membership in decline at the moment."

    If someone checks the "composition of decline" there is a second group of radio buttons later in the form which has a number of options.  One of these options is for members to ask only to send the registration form for the annual banquet.  Only members may attend the annual banquet, if I don't want non-members to have the opportunity to select this radio button.  On the other hand, I don't want non-members have the opportunity to select other options in the radio button group.  In short, if someone chooses 'Decline membership at that time' I don't turn off only one option in a group of radio buttons later.

    A web form is not an option at this time, and of course, I am brand new to javascript, so I don't know where to start for this script.

    You can add a script to the mouse event to the top of the box in question in the second group that checks to see if it is selected, and it checks the value of the first group. If it is a third party, so don't let the choice.

    For example, you can use the following script the mouse to the top of the option button in the second group, and it will prevent it from being selected:

    Get the value of the first group of radio button

    var v1 = getField("Membership").value;

    Get the value of this option button

    var v2 = event.target.value;

    Do not let this option button to select if the membership has been denied

    If (v1 = 'Decline' & v2! == 'Off') {}

    Event.Target.Value = 'Off ';

    App.Alert ("message of error goes here.", 1);

    }

    Here, the value of exports (aka Button value, or what they call it now) is set to "Deny" for the corresponding button in the first group ("membership"), then you need to replace those with whatever you use.

  • Display image in the Group of radio buttons?

    Hello

    I tried to add images on my radio button group
    select '<img src="/../i/ok.png">' as d, 1 as r from dual
    But he replaces signs ' < ' and ' > "by" & lt; "and"& gt;""

    No idea how to avoid html to replace these characters?

    (I use Apex 4.0)

    Thank you

    Uji

    Hi Uji,

    To display an image on your radio group, using your original query:

    select '' as d, 1 as r from dual
    

    .. quality radio group element and scroll down to the area of 'Security' of the page this article Page, set 'Escape special characters' Noand click on apply changes. Now, when you run the page, you will see your image in your group of radio buttons.

    Kind regards
    Hilary

  • Variation on a group of Radio buttons

    Is there a way to blur on a group of radio buttons (so you can select is no longer a value)
    WHEN you lose the development of another piece of text on the page.
    For example, when the user has entered number 10 in the item text "Tags_Requested", and then tabs to the order of the day, I want to automatically dim on a RadioGroup on the same page.
    Can someone tell me how to:
    1 set the properties of the text element "Tags_Requested".
    2. Sun on the RadioGroup.

    Thank you.

    Hello

    ALL I want to know is: why it is not disable the RadioGroup?

    because P1_CATEGORY is not actually a part of radio group is the set of fields surrounding the radio group form elements which is why you should use $x_disableItem () because he who will perform for you.

    
    

    Before going any further, you should *(please / 100% / absolutely / i can't stress enough / help us help you) * create an example of what you want to do, if it works or not, on [http://apex.oracle.com] and provide a link. This thread could be done in 2 or 3 messages if you had that are available.

    Kind regards
    Carl

    blog: [http://carlback.blogspot.com/]
    examples of apex: [http://apex.oracle.com/pls/otn/f?p=11933:5]

  • Group of radio buttons with the URL of image in a table

    I try to display text and an image for a group of radio buttons to make the form look like

    text (*) for point 1 {image for point 1}

    text () for article 2 item 2 {image}

    text () to the point 3 {image for point 3}

    I found these:

    Re: Is it possible to display an image instead of the button in a group of radio buttons?

    Display image in the Group of radio buttons?

    It looks like all I have to do is create a LOV that looks like:

    SELECT {complex stuff that generates the text string, tag img and image URL}

    DB_PK

    OF dynamic_view_for_lov - public synonym

    But my images are stored in a table.

    I was able to create an IR using the "= BLOB column Format" method.

    The SQL code for the report looks like:

    Select

    display_text, db_pk, image_len, image_clob

    of dynamic_view_for_lov - public synonym

    And the IMAGE_LEN column number/Date Format is:

    IMAGE: DYNAMIC_VIEW_FOR_LOV:IMAGE_BLOB:DB_PK:Inline:Download

    My question: how to create the URL for the tag img for the LOV?

    Thank you very much

    MK

    MikeKutz wrote:

    My question: how to create the URL for the tag img for the LOV?

    Use of the apex_util.get_blob_file_src method of the API.

  • Is it possible to display an image instead of the button in a group of radio buttons?

    I am building an application must work with touch screens. I would like to show the buttons of the largest radio group as they are by default. Is it possible to make them appear larger, or to display a custom instead of the radio group image?

    Francisco

    Hi Francisco,.

    Back to your original question. Take a look at http://www.456bereastreet.com/lab/styling-form-controls-revisited/radio-button/ or look

    radio css
    

    on Google for examples of how you can change the icon of the radio group selection.

    On the use of the images himself for the Group of radio buttons. You can always include the necessary HTML tags in the query LOV himself as well. Just a very simple example:

    select ''||dname as d,
           deptno as r
      from dept
     order by dname
    

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • How to dynamically add any control (digital button, boolean) to control the line and selected column

    Hello

    How to add a control (digital button, boolean) dynamically in control instead of lines and columns selected. Please suggest the idea or no matter what example code you have please share with me...

    Thank you

    Vieu

    Essentially, that's what you're looking for:

    Please note that you have to account border sizes and the label of the control so that the code does not work right out of the box. You should also check for the height and width of column and if the position is valid at all before moving around the control.

    Norbert

Maybe you are looking for

  • Blocks Firefox NYTimes as "non-secure" - should "allow" every time.

    "This website does not provide identity information." «Your connection is encrypted only partially...» "This is the site of the New York Times, for the love of heaven. This extremely annoying Firefox behavior is new in Firefox 23.0.

  • Need a recovery media for mySatellite C850-1NU

    Hello I have Ubuntu on my Toshiba Satellite, but I want to put Windows 8 on it. I tried now 0 when I start the computer, but I must have deleted this partition because I wipe the hard drive Assembly later. Where can I get drivers and media recovery f

  • NOR does still cRIOs based on Windows?

    Hello I have a customer who wants only a small embedded PC that does the following: Acquire data through a system of 3 rd-party over TCP and store them on diskShow a video stream (and capture photos) a GigE cameraDrive a servo motor 2 axesLaunch the

  • use of devices high cRIO 9068 FPGA

    Hello. I have problems with my cRIO 9068 (dual-core, Artix 7 667 MHz), which uses a lot of FPGA resources. I did a little VI FPGA (LabVIEW 2013 SP1) allowing USER FPGA led to two colors (green and orange) for 500ms and then it is off for another 500m

  • Windows Update crashes trying to check the computer

    Windows XP Professional x 86 with all important updates Running as an administrator When I try to go to Windows Update, I get a message saying that an ActiveX control must be installed to save your computer.  (The machine worked for awhile and used W