- gyangtingAsked on August 23, 2014 at 05:04 PM
I need to add small icons at the beginning of fields, as here: http://screencast.com/t/0XsLNhrC
Can you help me achieve that?
- gyangtingAnswered on August 23, 2014 at 05:07 PM
Also, my customers are on mobile primarily, so I need icons to work on mobile.
- JotForm SupportWelvinAnswered on August 24, 2014 at 12:46 AM
You can inject a custom CSS codes to your form to do that. For the Credit Card Number input:
Change http://www.jotform.com/icon/cc.png to your actual credit card icon.
The same codes for the CVV input:
Still, change the URL of the icon.
Here's a guide on how to inject a custom CSS to the form: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes
- gyangtingAnswered on August 24, 2014 at 04:42 AM
Thanks Welvin. This put me on the right track to get what I wanted!
I just had to add background-position: 7px 7px to position the icon where I wanted.