I need to collapse/hide input elements once filled in

Thank you for your reply Ahmd, I will look into this!!