Jump to content

 

DanHerbert

Member Since 06 Feb 2009
Offline Last Active Jun 11 2020 11:46 AM
-----

#326887 Adding Field Name Into The Field

Posted by DanHerbert on 21 April 2020 - 12:14 PM

Hi all, partly answered this myself so thought I'd share...

 

Basically you need to add:

 

placeholder="{__("email")}

 

within an <input> code, e.g. on the login.tpl:

 

<input type="text" id="login_{$id}" name="user_login" size="30" value="{$config.demo_username}" class="ty-login__input cm-focus cm-required" placeholder="{__("email")}" />
            </div>