Why is it displaying only one entry is allowed error on my form?