Skip to content
Discussion options

You must be logged in to vote

There might be other ways too, this one works with combn of output visibility controls

'<p>Select: 
'<input name="target2" type="radio" id="opt1" value="1"/>
'<label for="opt1">Option 1</label>
'<input name="target2" type="radio" id="opt2" value="2"/>
'<label for="opt2">Option 2</label>
'<input name="target2" type="radio" id="opt3" value="3"/>
'<label for="opt3">Option 3</label>
'<input name="target2" type="radio" id="opt4" value="4"/>
'<label for="opt4">custom</label>
'<p id="target2" style="display:none;">Value -'OptionClass = ? {4}'</p>
'
#post
#if OptionClass ≡ 1
Selection = 10
#else if OptionClass ≡ 2
Selection = 20
#else if OptionClass ≡ 3
Selection = 30
#else if OptionClass ≡ 4
#sh…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fliptoback
Comment options

fliptoback Sep 4, 2025
Author Sponsor

@strsthapa
Comment options

Answer selected by fliptoback
@fliptoback
Comment options

fliptoback Sep 4, 2025
Author Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants