One way is to limit the possible options at server side.