How to make ext.net RadioGroup a required field? -
we using ext.net
. know how make textbox required field, having trouble force our user make selection on radio group or check box group. know assign default value 1 of radio button, our customer wants leave them unchecked in beginning forces web users make choice, understandable.
it appears indicatortext
, allowblank
properties not effective though listed in intellisense.
<ext:radiogroup id="rdgrpgender" runat="server" itemcls="x-check-group-base" fieldlabel="gender" columnswidths="60,60" indicatortext="*" indicatorcls="cssindicator" allowblank="false"> <items> <ext:radio id="rdomale" runat="server" boxlabel="m" /> <ext:radio id="rdofemale" runat="server" boxlabel="f" /> </items> </ext:radiogroup>
can expert me out? lot.
you can validate this
<ext:button id="button1" runat="server" text="validate"><listeners><click handler="#{rdgrpgender}.validate();" /></listeners></ext:button>
Comments
Post a Comment