Odoo Help


How to insert line break ?

on 3/12/15, 11:39 PM 767 views

How to insert line break in placeholder in text area field?


Dr Obx
On 10/1/15, 11:42 AM

Is it possible ?? ;) Have you tried \n \r ?

yes tried that didn't work.

on 10/1/15, 1:50 PM
Anton Chepurov
On 10/1/15, 8:17 AM

Only by formatting with multiple spaces, e.g.:

1st line of placeholder starts here                                         2nd starts here            etc    

If the size of textarea is fixed, browsers will show such long texts as if they were on multiple lines.

You'll have to fine-tune the number of spaces to make placeholder text look as you like.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/12/15, 11:39 PM
Seen: 767 times
Last updated: 10/1/15, 11:42 AM