Jump to content

Add a placeholder to list string field (solution)

Recommended Posts

I just wanted to share this solution

if you wish to  add some text like "Select items" to your list string field, you may use this solution

Insert HTML block above the field, disable html editor and insert code:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
function placeholders() {
.setAttribute("placeholder", "Select items");

 Replace Field_name with name of your field.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...