asp.net mvc - MVC3 Razor dynamic form creation and validation -
i have setup page on website admin staff can create competition , add number of fields certains types , can set required or not competition.
when competition page loaded questions load dynamically database using editor templates each question type ie text, multi select, multi line text, email
there few tables main ones competition, competitionquestions , questiontypes
each competition can have multiple questions of different types.
the settings on question types have validation type ie email, regularexpression, length etc
and questions when added each competition can set required or not
now can competition page lead fine dynamically adding questions page editorfor , editor template each type.
my problem don't know how manually apply validation required questions , validation based on question type validation settings?
Comments
Post a Comment