Add line breaks in placeholder text for Multiline Text field


I have added this code in my form to add some placeholder text in the multiline text field but I want to add more text in this field with some line breaks.

Is it possible?

My code:

fd.field('test').placeholder = 'Enter your full name';

Thanks as always for the support!

Dear @Qman,
For line break, use \n in the placeholder, like this:

fd.field('test').placeholder = 'Enter\nyour\nfull name';
1 Like

Awesome, it works! Thanks again :slight_smile: