[CLOSED] [1.0] Assign custom values to RadioGroup items

  1. #1

    [CLOSED] [1.0] Assign custom values to RadioGroup items

    Is it possible to assign custom values to RadioGroup items?

    <ext:RadioGroup ID="RadioGroup1" runat="server">
        <Items>
            <ext:Radio ID="Radio1" runat="server" GroupName="type" Checked="true" />
            <ext:Radio ID="Radio2" runat="server" GroupName="type" />
        </Items>
    </ext:RadioGroup>
    When submitting, this gives me a form field called 'type', containing either 'Radio1' or 'Radio2' (the ID of the selected radio button). I would like to customize this value without changing the radio IDs. This is important form me because I want the ID of the radios to clearly point out that they're radios (e.g. 'SendMailRadio') while the post values should only describe what kind of information/action they contain/describe (e.g. 'sendMail') and not what kind of control is representing them.

    So, how do I change the radio values? I didn't succeed changing their names (using a 'name' attribute, see my other post, it causes the GroupName to be disregarded, amongst some other undesired effects).
  2. #2

    RE: [CLOSED] [1.0] Assign custom values to RadioGroup items

    Hi,

    Use InputValue="myValue"
    It is absent property but I think we will add it
  3. #3

    RE: [CLOSED] [1.0] Assign custom values to RadioGroup items

    Thanks. I guess addressing bare extjs config properties that way can solve a lot of problems, I'll keep that state of mind.

Similar Threads

  1. Replies: 2
    Last Post: Jan 09, 2012, 7:18 AM
  2. Replies: 5
    Last Post: Jun 08, 2011, 11:19 AM
  3. [CLOSED] How can I uncheck RadioGroup items
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 24, 2011, 4:55 PM
  4. Replies: 1
    Last Post: Jan 31, 2011, 7:45 AM
  5. [CLOSED] [1.0] RadioGroup is crashing when there are no items.
    By webclouder in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 14, 2010, 2:50 AM

Posting Permissions