dynamic data handling on form