You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 9
Next »
Introduction
A numeric field added on the nth step does not allow you to add decimal values by default. Even if there is a pattern that allows decimals, the complete value is blanked out on entering the decimal value.
After v11, the numeric field allows adding decimal value only when the pattern to allow decimal value is added in the dictionary section. No need to add the below syntax in Nth step.
Syntax:
See the syntax and screenshots here
Add the below code block to the field in the ‘specimenCollection’ section to allow entering numeric values at the nth step.
{
"name" : "specimen.extensionDetail.attrsMap.how_much_quantity_of_sample_was_used",
"baseField" : "specimen.extensionDetail.attrsMap.how_much_quantity_of_sample_was_used",
"modelOpts" : {
"allowInvalid" : true
}
}
Screenshot after configuration:

Example JSON
Download