-
chrissalinasAsked on November 11, 2021 at 3:02 PM
Hi,
Trying to see if it's possible when an image is selected to have it be "checked" instead of a border around the image.
Page URL: https://form.jotform.com/212345914070146 -
Amin JotForm SupportReplied on November 11, 2021 at 4:37 PM
Hi there,
Thanks for reaching out to us!
The default selection animation for the Image Picker widget is drawing a border around the item. You can change this using CSS though.
Related guide: How-to-inject-css-codes-to-widgets
Please let us know what exactly you wish it to look like and we shall present the respective CSS code.
I hope I have been of any help.
-
chrissalinasReplied on November 11, 2021 at 4:43 PM
Hi Amin,
I would like it to be "checked" when an image is selected. Just a gray/black check mark on the image instead of the border.
-
Sonnyfer JotForm SupportReplied on November 11, 2021 at 5:44 PM
Upon testing, it looks like it isn't possible for the image selected to be checked at the moment.
Let me escalate this to our developers as a Feature Request. Though we cannot give you an ETA, rest assured you'll be apprised here of any news.
Meantime, you use the following code to adjust the border (when selected) to your liking.
.divimg.selected {
border: 2px solid blue;
}
-
chrissalinasReplied on November 23, 2021 at 2:10 PM
Following up on this request. Was there any update on if I am able to have selections "checked"?
-
Alexander_GReplied on November 23, 2021 at 3:31 PM
Hi there, 👋
Thanks for reaching out to us.
Unfortunately - there's no update regarding this feature request.
However, we will update you once we receive something from our Devs.
Now we sent a follow-up message regarding this.
Thanks,
Alex
-
hayk JotForm DeveloperReplied on November 24, 2021 at 5:39 AM
Hi there,
We have added a drop-down list to select the style of check type.
If you need to change the checkmark's color here is an example.
Please check if it works for you and write to us.
Regards,
Widgets Team
-
chrissalinasReplied on November 24, 2021 at 1:31 PM
Thanks Hayk!
So I went and changed the "check type" to checkmark but it is still as border once I select an image. Below is the link to my JotForm if you're able to assist. Thanks.
-
chrissalinasReplied on November 24, 2021 at 1:43 PM
When I am viewing the form from my phone it does show the checkmark, just when I am viewing from my desktop preview it doesn't. Appears to be working!
For the checkmark, is it possible to have it as an overlay over the image when it is selected? I feel it is too small in the top left corner. Is there a CSS that would have it go over the photo once selected?
-
Amin JotForm SupportReplied on November 24, 2021 at 3:23 PM
Hi again,
Kindly inject the following CSS code into the widget:
.divimg.check_mark:before {
width: 59px !important;
height: 156px !important;
border: solid red !important;
border-width: 0px 11.5px 11.5px 0 !important;
border-color: red !important;
margin: 19px 7px !important;
margin-left: 121px !important;
z-index: 100008 !important;
}
Result:
Related guide: How-to-inject-css-codes-to-widgets
Should you have any further inquiries, we will be more than happy to help.