Issue when input items are outside the form