MWS
MWS

Reputation: 103

Is there an XML Form Generator out there in .NET?

Is there any XML based form generator framework/library written in .NET? Basically, we want to be able to define the fields, datatype, controls, defaults, mandatory validations etc in an xml file and load a web page that will render a data entry form. This will include fields that can repeat n number of times in the form. (For example ingredients can repeat n number of times in a recipe database, or multiple addresses in a contact database) Data entry from this dynamic form will be saved in an XML output file.

I am trying to determine if I need to build this from scratch or if someone has invented a reusable wheel, so to speak.

Thanks for your help

MS

Upvotes: 2

Views: 1672

Answers (1)

Fen
Fen

Reputation: 943

You could look at XForms.

As a technology it doesnt seem to have caught on. The idea was that browsers supported it natively, but not many do today.

That said, there seem to be plenty of server side and even javascript libraries that are able to render xforms into traditional forms input.

  • Good starting point here
  • a .net implementation (havent used it so can't say whether it is good) here
  • w3c wiki (lots of implementations) here

Upvotes: 2

Related Questions