input: if the field is empty go back to index