Forums

How to put an icon in the fields

chekwan 30 Jun, 2018
Hi,

Any ideas how can i put an icon in my input fields.
For example you can see here

I want to put an icon like the search input field.
GreyHead 30 Jun, 2018
Hi chekwan,

I imagine that you can do that using a Custom HTML element. I can't see that CFv6 supports icons directly.

Bob
chekwan 02 Jul, 2018
Hi Bob,

So i need to hardcode the coding to put an icon.?
healyhatman 02 Jul, 2018
Yes. CF uses Semantic-UI though so if you really want it might be easier to use an HTML block and manually craft the field.

https://semantic-ui.com/elements/input.html#icon

Of course you will have to manually craft all the validation initialisation too.
This topic is locked and no more replies can be posted.