Implemented oninput events