How can we show an error and prevent submission of a value previously submitted on the same form?