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

 

 

Got feedback or spotted a mistake?

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