Dynamic HTML forms Generator/Validator