input behavior for final page