To ensure that line breaks in the description box of a form in Webflow are properly displayed in the rich text field of the CMS when creating a new item through Integromat, you can follow these steps:
1. In the description box of your form in Webflow, make sure you are using `
Example:
```html
```
2. When sending the form data to Integromat, ensure that the description field value is being transmitted as raw text or as plain text without any formatting or encoding.
This will prevent any unwanted formatting characters from being added to the description field.
3. In the Integromat scenario, when creating a new item in the CMS, make sure to map the description field value to the corresponding rich text field in the CMS.
4. To ensure line breaks are preserved in the rich text field, you need to manually add HTML line break tags (`
`) wherever the user has inserted a line break in the description box.
Example:
```javascript
const description = requestData.description.replace(/\n/g, '
');
```
In this example, we're using JavaScript to replace all newline characters (`\n`) with HTML line breaks.
5. Finally, pass the modified `description` value to the rich text field when creating a new item in the CMS through Integromat.
By following these steps, line breaks in the description box of the form submission will be properly displayed in the rich text field of the CMS when creating a new item through Integromat.