# Tables not working in TextArea fields of Layout Based Forms

**URL:** <https://community.open-emr.org/t/tables-not-working-in-textarea-fields-of-layout-based-forms/23649>\
**Category:** Support\
**Tags:** bug, question\
**Created:** [October 15, 2024, 4:52pm UTC](https://community.open-emr.org/t/tables-not-working-in-textarea-fields-of-layout-based-forms/23649 "2024-10-15T16:52:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goddard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@Goddard](https://community.open-emr.org/u/Goddard)\
**Post date:** [October 15, 2024, 4:52pm UTC](https://community.open-emr.org/t/tables-not-working-in-textarea-fields-of-layout-based-forms/23649/1 "2024-10-15T16:52:18Z")

</div>

**Situation**  
Tables inserted after double-clicking on a Textarea field in a LBF do not seem to work but it does work when using a Nation Notes field.

I would really prefer to use the Textarea fields in my LBF over the Nation Notes fields so I am hoping there is a solution to this.

**Steps to reproduce:**

My LBF settings _(Prescribed Frequency set as Textarea, Planned Frequency set as Nation Note)_:

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/4/1/412383ca8f4c1a7e1a645e4f020aee123d909227.png)

Open Patient \> New Encounter \> Open LBF Form (Visit Note in my case)

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/0/c/0c871aa3f5c0402e0011148a2916c3637e82b452.png)

Add table to Nation Note field using built-in table editor (works):

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/d/b/db1351168a7b9f7a44b41e1e4ca994d11de408c3.png)

Insert in Form - Looks good!

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/9/2/920667f442eb5950b5b2fac7d94e9c2eaaff412d.png)

Add table to Textarea field using built-in table editor (looks good in editor but breaks when insert in form):

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/6/8/68d0b508f87a4c4d59fd37ff4acb934002eaaa56.png)

Insert in Form - Table does not work

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/5/c/5c0d875854b98ff26bc2064966fa4dce3aeab02d.png)

Here is what it looks like after clicking “Save and Print”:

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/0/4/04e0e47f6c164cd38224595f7d297a01c8294aba.png)

Is this a bug? Do I have something mis-configured?

Any and all assistance is greatly appreciated - Thanks!

**OpenEMR Version**  
7.0.2 Patch 1

**Browser** :  
Tested in Firefox
