/
Allow Decimal Values on nth Step
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Allow Decimal Values on nth Step

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

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:

Please click on link below to download the example JSON file.

Download

 

 

Related content

Hide Derivatives
Hide Derivatives
More like this
Configure Fields Based on Multiple Operators
Configure Fields Based on Multiple Operators
Read with this
‘Copy On First Row Change’ (COFRC) setting
‘Copy On First Row Change’ (COFRC) setting
More like this
Configuring header in unplanned specimen page
Configuring header in unplanned specimen page
Read with this
Initialise values based on other fields
Initialise values based on other fields
More like this
Attribute Types Examples
Attribute Types Examples
Read with this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com