Andre, RadioButtonGroup is not the same as a grouped set of radio buttons in HTML, you have to do a wee bit more work. What RadioButtonGroup does give you though is listeners that react to any radio in the group. I suggest you build a YesNo custom component that fulfils your requirements. This component could expose a public property isValid:Boolean that could even be publicly bindable. Or the component could just dispatch a 'change' event of sorts that the parent can listen in on. I believe I have a sample YesNo type component in the code from my presentation at 360:Flex Atlanta. Check it out here http://www.cubicleman.com/2008/02/25/360flex-slides-and-code/
As for email from Flex, you will need a server. Pick your poison on data transports to get it to the server, then the server can do the email thing. HTH! DK On Wed, Oct 22, 2008 at 4:56 PM, Andre J. <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I am creating a simple "Questions" application that allows a person to > select a radio button next to a question to either agree or disagree; there > are 8 questions. After they have selected an answer to all the questions, > they click submit and are done. At present I have eight RadioButtonGroups > (one for each question). In each group I have two RadioButtons; one for > "agree" and one for "disagree." In another panel I have the label of the > RadioButton selection in each RadioButtonGroup displayed. After the user > selects an answer in each RadioButtonGroup, all the selections are shown and > that is where the Submit Button is. I want to do validation to ensure that > at least one RadioButton is selected in each RadioButtonGoup before the > submit button is activated. When the user submits, I want an email sent to > a mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]> What is the best way to > implement this RadioButtonGroup and email functionality together? > > > > Thanks in advance. > > > > Andrej770 > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
