---
title: "Feature: add Rating to the Closure process"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/3113911058/Feature%3A%20add%20Rating%20to%20the%20Closure%20process"
format: markdown
---
One can add Rating field to the Closure process by adjustingWorkOrderSummary screen. In the following example Rating__c is a picklist.


```javascript
{
"field": "Rating__c",
"table": "Work_Order__c",
"var": "RATING"
}


```

```javascript
{
"alias": "Rating",
"ui_type": "RATING",
"default": 2, //is used if the field's value is null
"count": 5 //the number of stars visible. by default: 10
}
```



![image](media://4945f774-79ac-4b44-a3ae-ca19a4eafe9e)

<span style="color: #eceff4">"</span>

<details>
<summary>Expand</summary>

```javascript
signature": {
"config": {
"actions": [{
"actionName": "CancelApprove",
"elems": [{
"alias": "ApproveButton",
"eventName": "onApprove",
"ui_type": "BUTTON"
}]
}],
"dataBinding": [{
"field": "Name",
"table": "Work_Order__c",
"var": "ITEM_NAME"
},
{
"field": "Closure_Status__c",
"table": "Work_Order__c",
"var": "CLOSURE_STATUS"
},
{
"field": "Email__c",
"table": "Work_Order__c",
"var": "EMAIL_ADDRESS"
},
{
"field": "Approved_By__c",
"table": "Work_Order__c",
"var": "CUSTOMER_NAME"
},
{
"field": "Signature__FB",
"table": "Work_Order__c",
"var": "SIGNATURE"
},
{
"field": "Rating__c",
"table": "Work_Order__c",
"var": "RATING"
}
],
"dataText": {
"ClosureStatus": "CLOSURE_STATUS",
"CustomerName": "CUSTOMER_NAME",
"EmailAddress": "EMAIL_ADDRESS",
"ItemName": "ITEM_NAME",
"Signature": "SIGNATURE",
"Rating": "RATING"
},
"events": [{
"dataBinding": [{
"field": "Name",
"table": "Work_Order__c",
"var": "NAME"
},
{
"field": "Id",
"table": "Work_Order__c",
"var": "ID"
}
],
"eventName": "onApprove",
"target": "WorkOrderClosed",
"triggeredEvent": "navigate",
"validation": [{
"field": "CustomerName",
"rule": "required"
}]
}],
"fields": [{
"alias": "Signature",
"ui_type": "SIGNATURE_PAD"
},



{
"alias": "CustomerName",
"ui_type": "STRING"
},
{
"alias": "Rating",
"ui_type": "RATING",
"default": 2,
"count": 5
}
]
},
"type": "FWorkOrderSignature"
}
},
"name": "WorkOrderSummary"
},
```
</details>