How can I use icon on the text field ?

  • Atulbhandari
    Asked on November 3, 2014 at 1:43 AM

    Hi,

    http://form.jotformpro.com/form/42683761560964

    How can I use icon in the text field like the above form. 

     

     

  • jonathan
    Replied on November 3, 2014 at 4:42 AM

    Hi,

    That is done using custom injected CSS codes.

    I suggest you review this thread also as it it was exactly similar to your inquiry.

    http://www.jotform.com/answers/444591-How-do-you-add-the-icons-next-to-the-form-fields-

     

    Using the new Form Designer, you can add icon/image to the input box(in this case the Textbox field) by going to the CSS designer and inject CSS code like this

    How can I use icon on the text field ? Image 1 Screenshot 20

    sample CSS

    #input_1 {

        background : transparent url('http://www.yourwebsite.com/icons/name_icon.png') no-repeat 20px center;

        background-size : 20px;

    }

    where #input_1 is the field ID#

    --

    I have also submitted this post to our higher team support as a feature request ticket to have the feature added in the Form Designer. The new feature is to have option to easily add icons/images into the input fields.

    We will notify you for any update on the requested feature when available.

    Hope this help. Please inform us if you need further assistance.

    Thanks.