This support ticket is created hace 6 años, 4 meses. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
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