Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
How do you make a radio button set two variables?
Raftar1 last edited by Raftar1
How do you use a radio button to set two variables in sugarcube?
For example, in: https://19216801.onl/
What's your favorite pie? <label><<radiobutton "$pie.flavour" "blueberry" checked>> Blueberry?</label> <label><<radiobutton "$pie.flavour" "cherry">> Cherry?</label> <label><<radiobutton "$pie.flavour" "coconut cream">> Coconut cream?</label>
If I also wanted cherry to set $pie.description to "Made with the finest morello cherries"
I could only find a post saying "It's possible, but don't do it" (for reasons that don't apply here) but not how. There's nothing in the docs and i've tried passing it various types of objects and arrays, which (unsurprisingly) failed.
Hi and welcome to devnet,
Looks like 100% html, how is it related to Qt ?