Show Text without a field

How to show plain text inside a Form without being a field

To add plain text that comes from the database or even text added manually we can use the type "showText"

 

addField([
   'type'=>'showText', //required
   'attributes'=>'', //optional
   'label'=>'Information Text', //required
   'id'=>'', //optional
   'style'=>'color:red', //optional
   'class'=>'', //optional
   'value'=>'The text to display',  //optional
]);
Get a Quote

Get a Quote