Got feedback or spotted a mistake?

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

Comprehensive List of JSON Properties and Values

CP JSON Properties

For more details, click here

Properties

Supported Values

Description

Properties

Supported Values

Description

type

text

Used for simple text field

textarea

Used for the long text field

pvs

Used for PV dropdown field

dropdown

Used for dropdown field

user

Used for the user defined field

date

Used for the only date field

datetime

Used for the both date and time field

radio

Used for radio select button field

file

Used for file upload control field

span

Used to make field Read-only

toggle-checkbox

Used for Yes/No checkbox

note

Used for Note field type

dateOnly

true

Allows to store only date

optional

true

Used to make field mandatory

false

Used to make field non-mandatory

defaultValue

current_date

Set the date type field’s value as current date

current_user

Set the user defined field’s value as logged in user

op

AND

To satisfy both conditions in rule

OR

To satisfy either of one condition in rule

not_exist

To check if the field defined in rule is empty

exists

To check if the field defined in rule have value

==

To match the specific value for a field

!=

To avoid the specific value for a field

.indexOf()

To match list of values for a field

showInOverviewIf

useShowIf

To use rule defined in “ShowIf” properties for overview

selectProp

name

To select Property based on field’s “name“

value

To select Property based on field’s “value“ in dropdown

displayProp

name

To select Property based on field’s “name“

value

To select Property based on field’s “value“ in dropdown

multiple

true

To allow multi-select dropdown input

false

To prevent multi-select dropdwon input

Nth Step JSON Properties

For more details, click on the link here

Properties

Values

Description

Properties

Values

Description

enableCofrc

true

Compress the specimen table

false

Expands the specimen table

defVisitDate

none

Set Visit date to blank

showVisitDetails

true

Shows all visit details such as visit name, date and site on specimen collection page

false

Hides all visit details on specimen collection page

showCollectionEvent

true

Shows all collection details such as collector and collection date on specimen collection page

false

Hides all collection details on specimen collection page

showReceivedEvent

true

Shows all receive details such as receiver, received date, and receive quality on specimen collection page

false

Hides all receive details on specimen collection page

defCollectionDate

visit_date

Set Collection date to visit date

current_date

Set Collection date to current date

none

Set Collection date to blank

allowInvalid

true

Allow Decimal Values on nth Step. For more details click here

hideCopyFirstToAll

true

Hide 'Copy first to all' button on specimen collection page

false

Show 'Copy first to all' button on specimen collection page

 

Got feedback or spotted a mistake?

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