fbpx

Reply To: Validate non-required field only if field is not empty

Forums Designer Feature requests Validate non-required field only if field is not empty Reply To: Validate non-required field only if field is not empty

    triggre
    Keymaster
    Up
    0
    Down

    Hello Alex,

    Do I understand correctly from your question that you applied the validation rule to the “in dienst”-field? What you’re saying with the rule is that it has to be smaller than the “uit dienst”-field AND the “uit dienst”-field needs to be filled in (you sort of made the “uit dienst”-field required with this rule).

    What I think you wanted was: Form fields / Datum uit dienst = Empty OR Form fields / Datum indiensttreding < Form fields / Datum uit dienst. That means that if the “uit dienst”-field is empty, it doesn’t matter what is filled in in the “in dienst”-field. But if something is filled in in the “uit dienst”-field, it needs to be bigger than the “in dienst”-field.