Jump to content
  • 0

Icon inside input field



1 answer to this question

Recommended Posts

  • 0

Hi @vinebath,

You can add a Glyph icon with the additional CSS styles and bootstrap library:

1.  Open "Search and Report Wizard - Configure Search Fields" screen, where should be at least one field. Create a Header and Footer element and two HTML blocks, where the HTML editor should be disabled. Please look at  the screenshot below to see the structure of the DataPage elements:


2. Move to the Header and put the following code there:

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">

.cbFormTextField {
	padding-left: 25px;

.inner-addon {
	position: relative;

/* style glyph */

.inner-addon .glyphicon {
	position: absolute;
	padding: 10px;
	pointer-events: none;

.glyphicon {
	top: 11px !important;

/* align glyph */

.left-addon .glyphicon {
	left: 95px;

/* add padding  */

.left-addon input {
	padding-left: 30px;

3. Put the following code into the first HTML block: 

<div class="inner-addon left-addon">
      <i class="glyphicon glyphicon-search"></i>

4. Put  the code below to the second HTML block:


5. The result is the following:


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.

Answer this question...

×   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...