If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2020-07-21
Sorry for few details.
In the form, i add a new field, you can see on screenshot, it's work.
i would like attach a link for explainations users, how can i can do this ?
it's works under 171.
Thank for you help. PL
I've now added a $raw parameter to Field->setLabel() to enable HTML tags to be used in a label. This will enable just specific fields to have raw labels by changing the code that builds the form.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, could you explain some more please?
Sorry for few details.
In the form, i add a new field, you can see on screenshot, it's work.
i would like attach a link for explainations users, how can i can do this ?
it's works under 171.
Thank for you help. PL
You'll need to modify the code so that the label isn't escaped. Change line 58 of lib/MRBS/Form/Field.php from
$label->setText($text);
to
$label->setText($text, false, true);
I've now added a $raw parameter to Field->setLabel() to enable HTML tags to be used in a label. This will enable just specific fields to have raw labels by changing the code that builds the form.
Campbell, thk you so much. It's works fine.
Respect for good dev :), Pierre