How to use dynamic fields with search placeholder

Answered

1 Comments

  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hi Jon,

    You need to create Dynamic Content like this:

     

    After creating the Dynamic Content you will get the placeholder name

     

     

    Copy the placeholder name

     

    Paste in the searchbar placeholder like this.

    {{search submit=true instant=settings.instant_search class='search search-full' placeholder=(dc settings.searchbar_placeholder)}}

     

    You can create multiple languages variants in the dynamic content like this;

    1). Click add variants

     

    Top right corner.

     

     

     

    2). You will reach this window.

     

    3). Select any language you want to show.

    4). Write the text in the content field, as you want to show the search bar placeholder text in Arabic so you need to select the Arabic language in the dropdown list and type the placeholder content in Arabic.

    Click create button. Now go to the preview mode and select language Arabic in your language selector and see the search bar.

    for the translated text you can use Google Translate.

     

    Test well and if any bug let me know.

     

    Also go through this article -

    https://support.zendesk.com/hc/en-us/community/posts/115006078407-Add-multilingual-welcome-note-placeholder-text-in-search-box-along-with-user-name

     

    Thanks

    Team

     

    1

Please sign in to leave a comment.

Powered by Zendesk