> For the complete documentation index, see [llms.txt](https://ec9help.weaver.com.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ec9help.weaver.com.co/1-ec9-workflow-engine-form-api/7-signature-comments-interface.md).

# 7 Signature comments interface

## 1 Get signature commments content

> minimum version: KB900190501
>
> *getSignRemark：function():*

Example

```javascript
WfForm.getSignRemark():// Get the signature comments
```

## 2 Set signature comments text

> Minimum version : KB900190501
>
> *setSignRemark：function (text, is Clear =true,isAfter=true,callback)*

Parameter Description

| Parameter | type     | Required | Remarks                                                                                                                     |
| --------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------- |
| text      | String   | Yes      | Content to be set                                                                                                           |
| isClear   | Boolean  | No       | Whether to clear the opinion first, the default true, is to cover the content of the opinion, false for additional comments |
| isAfter   | Boolean  | No       | The additional position, default true, the original opinion content tail append, false the head add                         |
| callback  | Function | No       | Callback function after opinion setting is successful                                                                       |

Example

```javascript
WfForm.setSignRemark("override the content of the signature setting comment ");
WfForm.setSignRemark("additional request for approval before the original opinion ", false,false);
```

## 3 Extended Signature comments bottom buttons

> Signature Input Box Bottom Button supports Custom Extended
>
> *appendSignEditorBottomBar：function (comps =\[]) based on built-in accessories, documents, processes)*

Parameter Description

| Parameter | type             | Required | Remarks                                   |
| --------- | ---------------- | -------- | ----------------------------------------- |
| comps     | React Comp Array | Yes      | Arrays of React components to be expanded |

```javascript
WfForm.appendSignEditorBottomBar ([
 React.createElement("div ",{className :" wf-req-signbtn ", children :" custom button 1"}),
 <div> custom button 2</ div<div>
]);
```
