In-form authentication / verification with E-Signet
...getMOSIPIntegrationFields('mother', {
existingConditionals: [
{
type: ConditionalType.SHOW,
conditional: requireMotherDetails
}
]
})connectToMOSIPIdReader(
{
id: 'mother.name',
type: FieldType.NAME,
required: true,
configuration: farajalandNameConfig,
hideLabel: true,
label: {
defaultMessage: "Mother's name",
description: 'This is the label for the field',
id: 'event.birth.action.declare.form.section.mother.field.name.label'
},
conditionals: [
{
type: ConditionalType.SHOW,
conditional: and(requireMotherDetails)
}
],
validation: [invalidNameValidator('mother.name')]
},
{
valuePath: 'data.name',
disableIf: ['pending', 'verified', 'authenticated']
}
),Last updated