switch input length with save button