1

I'm building a Pre-form Chat on a Visualforce page, but the problem is, the website gonna be multilingual, so now i need to put a Custom Label as a placeholder, but I'm using html instead of apex style, something like this:

<input style="float: left; margin-right: 15px; margin-bottom:10px; width: 170px;" type="text" name="liveagent.prechat:ContactFirstName" id="firstName" placeholder="Nome" required="true" />

I tried to replace with my Label like {$Label.LA_ola}, but no luck

I tried changing the <input> to <apex:inputField> and using the html-placeholder but again, no luck.

Any ideas to solve this?

0
1

You have used {$Label.LA_ola} change it to

{!$Label.LA_ola}

placeholder="{!$Label.LA_ola}"

you are missing ! in your syntax

1
  • Rao, u R a life-saver man, i own u a coffee. – Renan Rocha Dec 9 '16 at 11:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.