Add validity control to orderpage