validation Basic Mappings


The following is a system generated interpretation of the validation.xml file. Please refer to validation.xml for exact details.

Forms

Form nameField nameDependsDetails
ForgottenPasswordForm
emailAddrrequired,emailon failure : :: forgotten.password.body.email
    CheckoutForm
    paymentrequiredon failure : :: checkout.payment.paymentmethod
      SearchProductForm
      priceFromdoubleon failure : :: advanced.search.body.price.from
        priceTodoubleon failure : :: advanced.search.body.price.to
          dateAddedFromdateon failure : :: advanced.search.body.date.from
          • validation : datePattern= [dd/MM/yyyy]
          dateAddedTodateon failure : :: advanced.search.body.date.to
          • validation : datePattern= [dd/MM/yyyy]
          WriteReviewForm
          ratingrequired,intRangeon failure : intRange :: write.review.body.rating.required
          • validation : min=1
          • validation : max=5
          reviewTextrequired,minlengthon failure : :: write.review.body.your.review
          • validation : minlength= [2]
          LoginForm
          userrequired,minlengthon failure : :: login.body.email
          • validation : minlength= [6]
          passwordrequired,minlengthon failure : :: login.body.password
          • validation : minlength= [5]
          RegisterCustomerForm
          genderrequiredon failure : :: register.customer.body.gender
            firstNamerequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.first.name
            • validation : minlength= [2]
            • validation : maxlength= [32]
            lastNamerequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.last.name
            • validation : minlength= [2]
            • validation : maxlength= [32]
            birthDateStringrequired,minlength,dateon failure : :: register.customer.body.dob
            • validation : minlength=5
            • validation : datePattern= [dd/MM/yyyy]
            emailAddrrequired,email,charsNotAllowedon failure : :: register.customer.body.email
              addrEmailemail,charsNotAllowedon failure : :: register.customer.body.email
                streetAddressrequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.street.addr
                • validation : minlength= [5]
                • validation : maxlength= [64]
                postcoderequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.postcode
                • validation : minlength= [4]
                • validation : maxlength= [10]
                cityrequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.city
                • validation : minlength= [3]
                • validation : maxlength= [32]
                staterequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.state
                • validation : minlength= [2]
                • validation : maxlength= [32]
                countryIdrequired,intRangeon failure : intRange :: register.customer.body.country.required
                • validation : min=0
                • validation : max=1000
                telephoneNumberrequired,minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.tel.number
                • validation : minlength= [3]
                • validation : maxlength= [32]
                telephoneNumber1minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.tel.number1
                • validation : minlength= [3]
                • validation : maxlength= [32]
                addrTelephoneminlength,maxlength,charsNotAllowedon failure : :: register.customer.body.tel.number
                • validation : minlength= [3]
                • validation : maxlength= [32]
                addrTelephone1minlength,maxlength,charsNotAllowedon failure : :: register.customer.body.tel.number1
                • validation : minlength= [3]
                • validation : maxlength= [32]
                faxNumberminlength,maxlength,charsNotAllowedon failure : :: register.customer.body.fax.number
                • validation : minlength= [3]
                • validation : maxlength= [32]
                companyminlength,maxlength,charsNotAllowedon failure : :: register.customer.body.company.name
                • validation : minlength= [2]
                • validation : maxlength= [32]
                suburbminlength,maxlength,charsNotAllowedon failure : :: register.customer.body.suburb
                • validation : minlength= [2]
                • validation : maxlength= [32]
                passwordrequired,minlength,maxlengthon failure : :: register.customer.body.password
                • validation : minlength= [5]
                • validation : maxlength= [30]
                passwordConfirmationrequired,minlength,maxlength,confirmPasswordon failure : :: register.customer.body.confirm.password
                • validation : minlength= [5]
                • validation : maxlength= [30]
                • validation : secondProperty=password
                customerCustom1minlength,charsNotAllowedon failure : :: register.customer.body.custom1
                • validation : minlength=5
                ChangePasswordForm
                currentPasswordrequired,minlength,maxlengthon failure : :: change.password.body.currentpassword
                • validation : minlength= [5]
                • validation : maxlength= [30]
                newPasswordrequired,minlength,maxlengthon failure : :: change.password.body.newpassword
                • validation : minlength= [5]
                • validation : maxlength= [30]
                confirmPasswordrequired,minlength,maxlength,confirmPasswordon failure : :: change.password.body.passwordconfirmation
                • validation : minlength= [5]
                • validation : maxlength= [30]
                • validation : secondProperty=newPassword
                CreditCardForm
                numberrequired,creditCardon failure : :: checkout.cc.number
                  ownerrequiredon failure : :: checkout.cc.ccowner
                    cvvrequired,integeron failure : :: checkout.cc.cvv
                      postcoderequiredon failure : :: checkout.cc.postcode
                        streetAddressrequiredon failure : :: checkout.cc.streetAddress
                          CreateGiftRegistryForm
                          namerequired,minlength,maxlength,charsNotAllowedon failure : :: create.gift.registry.body.event.name
                          • validation : minlength=1
                          • validation : maxlength= [128]
                          linkUrlcharsNotAllowedon failure : :: create.gift.registry.body.event.link.url
                            customerFirstNamerequired,minlength,maxlength,charsNotAllowedon failure : :: create.gift.registry.body.groom.names
                            • validation : minlength=1
                            • validation : maxlength= [32]
                            customerLastNamerequired,minlength,maxlength,charsNotAllowedon failure : :: create.gift.registry.body.groom.names
                            • validation : minlength=1
                            • validation : maxlength= [32]
                            customer1FirstNamerequired,minlength,maxlength,charsNotAllowedon failure : :: create.gift.registry.body.bride.names
                            • validation : minlength=1
                            • validation : maxlength= [32]
                            customer1LastNamerequired,minlength,maxlength,charsNotAllowedon failure : :: create.gift.registry.body.bride.names
                            • validation : minlength=1
                            • validation : maxlength= [32]
                            eventDateStringrequired,dateon failure : :: create.gift.registry.body.event.date
                            • validation : datePattern= [dd/MM/yyyy]