This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I'm using Forms and would like to intégrate a Glyphicon near the submit texte.
I have tried this :
[cred_field field='form_submit' value='<span class="glyphicon glyphicon-heart" aria-hidden="true"></span> AJOUT A MA LISTE' urlparam='' class='btn btn-primary' output='bootstrap']
But this is not working (the <span> is not taken into account and everything is considered as texte).
Just tested this
<input type="submit" class="btn btn-primary btn-lg" name="form_submit_1" value="<span class='glyphicon glyphicon-heart' aria-hidden='true'></span> AJOUT A MA LISTE">
and the result is the same as with the shortcode (ie : everything is considered as text !).
Let me know
Regards
Pat
<button type="submit" value="Submit" class="btn btn-primary">AJOUT A MA LISTE <span style="width:auto !important;"class="glyphicon glyphicon-heart" aria-hidden="true"></span></button>
[cred_field field='form_submit' value='AJOUT A MA LISTE' urlparam='' class='btn btn-primary' output='bootstrap']
Your solution (1° woks in terms of display, but does not create any post. Only the solution (2) with shortcode creates a post.
Any idea?
Regards
Pat