Make form input working