checkfield ApplicantNationalInsurance and ApplicantVarious not ready yet

This commit is contained in:
2025-01-24 15:47:18 +01:00
parent ba08715c9a
commit 8e9fe46b96
4 changed files with 159 additions and 156 deletions

View File

@@ -34,6 +34,7 @@ GridLayout
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
onTextChanged: checkFields()
}
Label
@@ -48,6 +49,7 @@ GridLayout
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
onTextChanged: checkFields()
}
Label
@@ -62,6 +64,7 @@ GridLayout
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
onTextChanged: checkFields()
}
CheckBox
@@ -99,6 +102,14 @@ GridLayout
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
function checkNationalInsuranceField()
{
if (nation.currentText === "Deutschland")
{
return (socialnumber.text.trim() && taxnumber.text.trim() && medicalinsurance.text.trim())
}
}
}