Explore the community Forums Lectora Lectora Questions & Answers auto-select radio buttons? Reply To: auto-select radio buttons?

#425508 Score: 2
Profile photo of Joe Wieloch
Joe Wieloch
Moderator
beginner
intermediate
friend finder
contributor
LUC16 Attendee
verified member
wise owl
LUC17 Attendee
advanced
picture perfect
73 pts
@wheels

The right, but apparently not obvious, way to do this is to use a “Change Contents” action on the Radio Group object.

That way you don’t have to worry about doing any JavaScript or the html names changing from title to title.

This updates the variable and the radio group selection. This can also be done on question objects, but again, it’s not always so obvious, if you have any ideas on how we can make this more easily discoverable please let me know!

Thanks, always great to see so many ways to accomplish things in Lectora.

– Joe

This post has received 2 votes up.