J
Jim Mellish
I am trying to put together a schema with some validation on addresses. Three
of the address fields are Flat, HouseName and HouseNumber. I have to ensure
that at least two of the three or all three are present. The only way I can
see to do this is to have a choice between:
Flat and HouseName
Flat and HouseNumber
HouseName and HouseNumber
Flat and HouseName and HouseNumber
I guess this is ok for two out of three but what if I had two out of ten ? Is
there a better way to do this ?
Jim
of the address fields are Flat, HouseName and HouseNumber. I have to ensure
that at least two of the three or all three are present. The only way I can
see to do this is to have a choice between:
Flat and HouseName
Flat and HouseNumber
HouseName and HouseNumber
Flat and HouseName and HouseNumber
I guess this is ok for two out of three but what if I had two out of ten ? Is
there a better way to do this ?
Jim