Explore the community Forums Lectora Online Lectora Online Questions & Answers Customise radio button property (size) changed on the specific screen. Reply To: Customise radio button property (size) changed on the specific screen.

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

We really need to allow you to change individual check boxes and radio buttons!  We do have that on our list of things to get done.

If you are in a pinch and absolutely need to do this you can use the following code.  Add an action to each of the radio buttons that On Page Show Runs JavaScript.  Add the following JavaScript and tweak it as necessary:

triv$(%HTMLNAME%.dLbl).css({‘width’:’100%’,’background-size’:’100px, 100px’});
triv$(‘div’,%HTMLNAME%.div).css({‘width’:’100px’,’height’:’100px’});

If you have a responsive title then also add this to an action triggered on Device Rotation, they’ll need to be adjusted for both triggers ( On Page Show and On Device Rotation ).

This will only work in publish and publish page preview.

triv$ is jQuery

I’ll make sure and put this use case in the feature request for allowing individual custom form elements.

– Joe

This post has received 1 vote up.
Attachments: