frontend for the dynamic form