How can I avoid two fields to have the same value?