Home › Forums › Programming › How to use On Event for Radio Buttons?
I’m new to Verge3D and even more of a novice when it comes to HTML….
In my project, I want my web visitor to input two values onscreen, one is a thickness (chosen from a radio button) and the other is a Profile Code (chosen from a dropdown selector)
I have successfully coded the dropdown menu and parsed those values over to the Puzzle via an “On Event of Input for Elem” “profile”, for that single div ID (“Profile”).
But for Radio Buttons, I want/have to use a single Div ID as I want to repeat that same process here, but for Radio Buttons that’s not allowed in HTML (as they each have to have unique IDs).
So how would I code that?
Many thanks for any help you can give
you can possibly use the query selector to find your selected option and get value from it
see relevant discussion here
3D Verger, the CEO
LinkedIn | FB | Twitter | VK | 新浪微博
Test your math:
Log in / Register