Disable image radio buttons

By: Mariyan Hristov | Asked: 05/14/2023
ForumsCategory: General questionsDisable image radio buttons
Mariyan Hristov asked 2 years ago
Hi there, First of all. Greetings for the amazing plugin! I am trying to build something experimental here.   I have a form with images used as radio buttons. And the form can be submitted just once. Then the message for already submitted form appears but I want to show the images to the user again. I built a javascript that will display another duplicate of the form if the original has been submitted. I successfully hid the Submit button, but the thing is that I want to also disable the radio images selection. Is there an easy trick to do that ? Maybe If I use another Styling for the form and disable the colours for selected and hover or just add some custom css to do the trick?   Thanks, Mariyan
1 Answers
Rob LeVineRob LeVine answered 2 years ago
I've successfully used CSS. pointer-events:none; opacity:0.5;

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right