Translations of this page:
 

Forms with Different Input Formats

Sometimes different information is to be collected in the style of a form. Open and closed questions can be combined in one table.

form with different input formats

Creation of Forms

The basis for such a form is a question “FM01” of the type text input.

  • The open input fields are created directly in the question.
  • The closed input fields are
  • The open input fields of these items are hidden by entering a tilde (~) as width.

input box for a form

In the input field for “age” the width was limited to 42 pixels. In the detail settings (Button: Edit or selecting the respective input field in the navigation on the left), it was specified that only numbers may be entered.

For the gender a question “FM02” with the question type selection was created. To save space, further adjustments were made so that the options to be selected from appear next to each other:

  • More Settings → Selection Options
    • Arrange in columns → “3 columns”
    • Minimum option width → “100 pixels”
    • Shading → “Disable shading”

For the formal education in the example above, a question “FM03” with the question type dropdown selection was created.

Tips

Important: The questions “FM02” and “FM03” in Compose the Questionnaire do not have to be dragged into the survey page. The placeholders %input:FM02% and %input:FM03% in the input box will integrate them automatically.

Tip: If you activated “this question demands a complete answer” for “FM01”, this only applies to the input boxes for that question (first name, last name and age). The same option must be activated for formal education and gender in “FM02” and “FM03”.

Tip: Questions different from those used in the example can be used in similar forms.

Tip: Of course, such information can also be retrieved in separate questions. These instructions describe only one way to collect different data in a table without needing much room.

en/create/mix-forms.txt · Last modified: by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki