- Member | 31
$form->addText('foo', 'My foo field') ->setRequired();
How can I have the “My foo field” appear as “My foo field*”?
…No, I don't want to add the asterisk by hand in the label. I want to add it programmatically in my renderer to every field that is required, but I can't manage to make it work :(
Thx for your help!
Last edited by bernhard (2022-03-10 18:04)