I use the webforms module to create a form. I have two entity radios elements and a computed twig element, in which I show the choices from the radio button. I want to be able to uncheck the radio button and remove the values form the computed twig too. With jQuery, I managed to make possible to uncheck the radio buttons but I can't remove the value from the computed twig. Any ideas?
Asked
Active
Viewed 218 times
0
-
You can't. You can't interact with `twig` clientside as `twig` is run serverside – DarkBee Nov 15 '19 at 08:09
-
@DarkBee I develop my site on a server. – sstavridis Nov 15 '19 at 08:22
-
[difference between client- and serverside programming](https://stackoverflow.com/questions/13840429/what-is-the-difference-between-client-side-and-server-side-programming) – DarkBee Nov 15 '19 at 08:32