- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 01:34 PM
Hi everyone!!
I need to have a placeholder text in a string field of length 1000, consisting of multiple lines. Something like this:
[Logo]
[Job Name]
[Task Name]
[Number Range]
[Delivery Date]
I followed this thread Support for HTML 5 placeholder attributeand the solution worked perfectly for a single line, but am unable to insert multiple lines. Could someone help me achieve this? Thanks a ton in advance!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 10:46 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 03:07 PM
Hi Veena,
In your text, just use \n as a line break, so you would do something like:
u_addPlaceholderAttribute('short_description', 'Enter a short description of the problem\nSomething on the next line');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 03:11 PM
I tried that already but it didn't work Brad. It just skipped printing \n and printed the rest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2023 06:11 AM
Any idea how it will work in the field type of HTML? It does not work with \r\n or any other HTML line-break html tag as well.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2024 04:19 AM
@Kamlesh Prasad did you find a way to do this? I am also looking for a solution for HTML type fields.