Jump to content

Add icons to form fields


Recommended Posts

Hi,

I've been trying to add icons to form fields, like most modern forms now include (e.g. an email symbol on the left inside the form field)

Is this possible with CASPIO? We don't seem to have much control over the HTML of form elements and most of what I have read, especially for bootstrap css, requires a div element to be added to the form HTML element. For example:

<div class="form-group">
  <label class="control-label" for="email">
    Email
  </label>
  <div class="input-group">
    <div class="input-group-addon">
      @
    </div>
    <input class="form-control" id="email" name="email" type="text"/>
  </div>
</div>

Where the div class="input-group-addon" is a bootstrap class that inserts a icon at the start of the field.
Thanks,
Scott

Link to comment
Share on other sites

  • 2 years later...
  • 1 year later...

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.

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

Loading...
 Share

×
×
  • Create New...