finished AddCustomer Form

This commit is contained in:
2024-12-12 15:58:30 +01:00
parent 3858d7a46a
commit 81ec81f411
2 changed files with 38 additions and 0 deletions

View File

@@ -70,6 +70,11 @@ GridLayout
popup.y: postcode.y + 5 - (postcode.height * 2)
currentIndex: -1
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
validator: RegularExpressionValidator
{
regularExpression: /([0-9]{1,5})/
}
}
Label
@@ -103,6 +108,11 @@ GridLayout
property string name: "telephone"
id: telephone
Layout.fillWidth: true
validator: RegularExpressionValidator
{
regularExpression: /([+0-9]{1})([0-9]{1,17})/
}
}
Label
@@ -115,6 +125,10 @@ GridLayout
property string name: "cellphone"
id: cellphone
Layout.fillWidth: true
validator: RegularExpressionValidator
{
regularExpression: /([+0-9]{1})([0-9]{1,17})/
}
}
Label
@@ -127,6 +141,11 @@ GridLayout
property string name: "email"
id: email
Layout.fillWidth: true
placeholderText: qsTr("beispiel@domain.de")
validator: RegularExpressionValidator
{
regularExpression: /([\+!#$%&\*\\/\=?\^_`\.{|}\~0-9A-Za-z]{1,185})@([0-9A-Za-z\.]{1,64})\.([a-zA-z]{2,5})/
}
}
Label
@@ -139,6 +158,7 @@ GridLayout
property string name: "homepage"
id: homepage
Layout.fillWidth: true
placeholderText: "www.oschkarischtverhaftetwegensexy.jinx"
}
Label