on 01-02-2007 2:18 AM
I can set the required field for inputfield, textedit and checkbox by using "labelfor" attribute of "Label" UI element.
But I <b>can not set the "labelfor" attribute for the radiobuttongroupbykey</b>. <b>( I have changed the state of this radiobuttongroupbykey to required)</b>
Anyone knows how to achieve this??
thanks,
Zita
Hi Zita,
what do want to achieve?
Regarding the Label: A RadioButtonGroupByKey always has to be bound this way: http://help.sap.com/saphelp_nw2004s/helpdata/en/86/16e13d82fcfb34e10000000a114084/frameset.htm
The values you have to define specify the labels of the radio buttons. That's why you cannot set the labelfor property of a Label to a RadioButtonGroupByKey.
You don't need to set something to mandatory, because the definition of radio buttons include that there has one to be selected. If you bind the RadioButtonGroupByKey as stated in the documentation this will work automatically.
Kind Regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By setting the state property to required only marks the * beside to UI to indicate the mandotory,but no validation will take place on its own.
Code in required to write to check this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zita,
Try setting the "state" property value to "required"
Regards, ANilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.