"Only one entry is allowed" error is shown when submitting a form