Enhancement
String occurrences multiline
Issue description
There should be a way to mark an occurrence type of datatype String as single line. By default an occurrence type should be multiline and have a HTML text area. In the case the developer wants to have a single line only (e.g. telephone number), he should check the checkbox "No newlines in value" which will instruct the form to display the corresponding field as an input field.
Developer comments
It turned out that the restriction to string occurrence types is not possible (since validation only works with statements of the topic). So currently it sits next to "Preserve whitespace" and can be stated for any occurrence type, but will only be evaluated for string ones.
Since the button to switch between a input field (one line) and a textarea (many lines) disappeared, the developer has to decide at design time what he wants for this occurrence type. By default it is multiline and by setting "No newlines in value" to true on the occurrence type it can be switched to a single line input field.
Also affects string input in service forms.
|
Work sessions3
Start |
2012-09-24T08:30:02
|
End |
2012-09-24T09:21:27
|
Participant |
Robert Cerny
|
Start |
2012-09-24T09:33:55
|
End |
2012-09-24T10:40:27
|
Participant |
Robert Cerny
|
Start |
2012-10-12T12:07:45
|
End |
2012-10-12T12:21:52
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.