checkfield ApplicantNationalInsurance and ApplicantVarious not ready yet
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user