Skip to main content

Table 3 Acceptable attributes on question elements

From: An ontology-driven tool for structured data acquisition using Web forms

Name

Accepted values

Description

type

text

The type of desired HTML form input element, if any; when ‘none’ is selected, no

 

textarea

input field is generated. The ‘checkbox-horizontal’ is a variant of the ‘checkbox’

 

radio

where options are presented horizontally

 

checkbox

 
 

checkbox-horizontal

 
 

dropdown

 
 

none

 

numbered

true/false

Whether this element should be numbered

required

true/false

Whether an answer to this question is required

optionOrder

semicolon-separated

Specifies the order in which options are presented. The symbol “*” stands for

 

positive integers and “*”

“the remaining, non-listed options”

showSubquestions For Answer

Answer IRI

Sub-questions are initially hidden. When the specified answer is selected the

  

sub-questions appear

hideSubquestions For Answer

Answer IRI

Sub-questions are initially visible. When the specified answer is selected the

  

sub-questions disappear