First it was dynamic forwards; now the question is about dynamic form markup.  It's like this...

My users can define a Survey object that has text fields, drop-downs, radio buttons, etc.  When I present the Survey to another user, I need to render those objects in the markup.  However, since there are a variable number of SurveyElements, I don't really know what to do with the markup. 

I was thinking I could just make a ListView with all of the SurveyElements and iterate over it inside the Form markup.  I'm not sure this would work because of the variability of the SurveyElement subclasses. 

Any thoughts on how to address this?  I'm still coding the business side of this and wanted to get the discussion going before I got to the web side.  Thanks for your time.

Reply via email to