Synchronise form input fields