Overview
Placeholders can be used to render text-only “fields” within your forms. Each placeholder hascontent(), which cannot be changed by the user.
Important: All form fields require a unique name. That also applies to Placeholders!
Rendering HTML inside the placeholder
You may even render custom HTML within placeholder content:Dynamically generating placeholder content
By passing a closure to thecontent() method, you may dynamically generate placeholder content. You have access to any closure parameter explained in the advanced closure customization documentation: