Inhaltsverzeichnis

Custom Input Buttons

There are already a number of different display options in the General Settings tab in Questionnaire Layout that can be selected as the input button in Input button style. Selecting the option „custom input buttons“ allows you to use your own image.

After the layout is saved, the new input buttons can be seen in the layout preview (below).

Note: Many participants are used to the default input buttons on their operating systems. Different input buttons can annoy some people. Therefore, Windows makes a clear distinction between radio buttons (round) and checkboxes (square). Other operating systems do not make a visual distinction between the two.

Note: Sometimes custom input buttons appear a little pixelated/blurry on high-resolution displays (e.g. on cell phone devices).

Image Set Guidelines

Radio button
Checkbox
Other
not selected
default
not selected
default
category in
Extended Selection
selected
default
selected
default
not
used
not selected
focused
not selected
focused
not
selected
selected
focused
selected
focused
not
used
not selected
mouse over
not selected
mouse over
not
used
selected
mouse over
selected
mouse over
not
used
not selected
grayed out
not selected
grayed out
not
used
selected
grayed out
selected
grayed out
not
used

A completed image set looks as follows (only with a transparent background and without guides and frames)

Image Set with Different Displays for Radio Buttons and CheckboesImage Set with a Standardized Display of all Input Buttons
Image Set for Larger Input ButtonsImage Set for Circles with Crosses (non-differentiated)

Disable Selectively

The custom modification may be disabled for single questions or inputs. To do so, the input must contain the CSS class „preventCustomInputs“ or a parent HTML element must contain this class.

For complete questions, it's sensible to use a surrounding <div> HTML element:

html('<div class="preventCustomInputs">');
question('AB01');
html('</div>');

You may also place the question in the questionnaire via drag & drop and place HTML code elements before and after. The result is the same:

<div class="preventCustomInputs">
</div>

To display single inputs in the browser's default layout, JavaScript is helpful. This JavaScript code will prevent the layout modification for the input AB01_021, if placed below the question.

<script type="text/javascript">
<!--
document.getElementById("AB01_021").classList.add("preventCustomInputs");
// -->
</script>