how are you? I have a problem. I'm using JavaScript, express and ejs. I have a textarea in my form and i want to put there the req.body. In my other inputs, I can do that because I have attribute value so I put there my req.body, but textarea doesn't have value so I can't do it. Someone can help me? Thank you
<form class="contact-form" action="/contact" method="POST">
<label for="name">
<input class="contact-form__input" type="text" name="name" placeholder="Nombre y apellido" value="<%= locals.old && old.name ? old.name : "" %>">
</label>
<% if (locals.errors && errors.name) { %>
<p> <%= errors.name.msg %> </p>
<% } %>
<label for="email">
<input class="contact-form__input" type="email" name="email" placeholder="Correo electronico" value="<%= locals.old && old.email ? old.email : "" %>">
</label>
<% if (locals.errors && errors.email) { %>
<p> <%= errors.email.msg %> </p>
<% } %>
<label for="msg">
<textarea class="contact-form__input" name="msg" cols="30" rows="10" placeholder="introduzca su mensaje" ></textarea>
</label>
<% if (locals.errors && errors.msg) { %>
<p> <%= errors.msg.msg %> </p>
<% } %>
<div class="contact-form__button-contain">
<label for="button">
<button class="contact-form__button" type="submit" name="button" >Enviar</button>
</label>
</div>