I would like to know if is possible to make a <input> tag with appearance like  multi-line (similar to the <TEXTAREA></TEXTAREA>) using CSS or another option, unfortunately I can replace the tag  with  in my web application.
   <input id="uxMessage" validation="required" name="uxMessage" type="text" />
Many Thanks
<input type="text" /> will always only be one line; You cannot force a multiple line behavior with CSS or JavaScript. You will need to use a <textarea> instead of a <input>.
You could use jQuery and it's .replaceWith() method to replace the targeted <input> with a <textarea>. however this has obvious caveats, such as those who visit your page without JavaScript on.
Example:
<input id="uxMessage" validation="required" name="uxMessage" type="text" />
$("#uxMessage").replaceWith('<textarea id="uxMessage" name="uxMessage"></textarea>');
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With