# 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>
]);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ec9help.weaver.com.co/1-ec9-workflow-engine-form-api/7-signature-comments-interface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
