Rating control¶
A rating control allows users to view or set ratings, that indicates the satisfaction of for instance content or services.
Figure 1 - Set or cancel a rating
Variations¶
None.
When to use¶
Use a rating control to allow ratings on content or services. The rating can be set to have a scale of 1-10, or any defined attribute.
A rating control can be placed on a field, list or group.
How to use¶
Add the rating control to a field, list or group:
field <field_name> {
...
rating {
showlabel = true;
maxrating = <Attribute or Integer>
//e.g. - maxrating = 5; | maxrating = MyMaxRatingAttribute;<br/> ...<br/> }<br/>}<br/>
Limitations¶
None.
Properties¶
Below is a list of properties that can be used to customize the control.
Example¶
Below is an example of how a rating control is used
Figure 2 - New example picture of rating control code below.
Example 1 - Rating control example code here