## Numeric field input¶

Sometimes the input of longer numbers is required. Freeform text cannot be used so that other methods are necessary. The method presented here is a field of checkboxes, but further options may exist depending on the solution:

• Use of a unique questionnaire ID and be careful when handing out the questionnaire

• Codeboxes, i.e. text fields where a barcode sticker is placed

In this example, each digit of an 8 digit number is asked for using an optiongroup environment.

## How can one use images?¶

The normal LaTeX commands will work as usual. As the image needs to be available during and after the setup step of SDAPS extra steps will be required though. The basic problem is that the given LaTeX file is copied into a new directory and the images may not be available then. The following ways exist to deal with this:

1. Copy all images by passing –add for each image

2. Place all images into a directory and use –add on the directory

The second option is a good strategy if you have more images. In the example below a directory called images is used which has one file called sdaps.png. The \graphicspath command is used so that the image can be refered to by its filename rather than the full relative path.

With that done, you need to run the following to setup the project

\$ sdaps setup tex PROJECT_DIR questionnaire.tex --add images