melose Posted April 28, 2013 Share Posted April 28, 2013 (edited) Creé un campo nuevo y quiero que salga el asterisco rojo al lado. ¿Cómo se puede hacer? Edited April 28, 2013 by melose (see edit history) Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 28, 2013 Share Posted April 28, 2013 (edited) Creé un campo nuevo y quiero que salga el asterisco rojo al lado. ¿Cómo se puede hacer? <sup>*</sup> Edited April 28, 2013 by Rubalcaba (see edit history) Link to comment Share on other sites More sharing options...
melose Posted April 28, 2013 Author Share Posted April 28, 2013 ¿Dónde pongo ese código? Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 28, 2013 Share Posted April 28, 2013 ¿Dónde pongo ese código? En el tpl donde estes mostando el campo que rellena el cliente. Link to comment Share on other sites More sharing options...
melose Posted April 28, 2013 Author Share Posted April 28, 2013 Este sería el código {elseif $field_name eq "address2"} <p class="text"> <label for="address2">{l s='Como nos ha conocido'}</label> <input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" /> </p> ¿En qué parte exactamente lo pongo? Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 28, 2013 Share Posted April 28, 2013 Eso que dices por esto {elseif $field_name eq "address2"} <p class="required text"> <label for="address2">{l s='Como nos ha conocido'} <sup>*</sup></label> <input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" </p> Link to comment Share on other sites More sharing options...
melose Posted April 28, 2013 Author Share Posted April 28, 2013 Muchas gracias Voy a probarlo Link to comment Share on other sites More sharing options...
Recommended Posts