Hello,
here is the task I need to complete.
I have an xml file which describes fields in the form like this.
<?xml version="1.0" encoding="utf-8"?>
<FORMS>
<form id="1">
<title>Resource Details</title>
<elements>
<element id="1" text="Category" type="multiple" required="yes">
<values>
<value id="1">Category 1</value>
<value id="2">Category 2</value>
<value id="3">Category 3</value>
</values>
<validation>Please choose a category</validation>
</element>
<element id="2" text="Name" type="single" required="yes">
<values>
<value id="1">Name Test</value>
</values>
<validation>Please enter a name</validation>
</element>
<element id="3" text="Description" type="single" required="no">
<values>
<value id="1">Description Test</value>
</values>
<validation>
</validation>
</element>
</elements>
</form>
</FORMS
I want to use this xml file to design a form (in .aspx file).
Does any body how to do it in .NET (C#) I also need to include validation control in the form.
Please help. It is urgent.
Thanks
here is the task I need to complete.
I have an xml file which describes fields in the form like this.
<?xml version="1.0" encoding="utf-8"?>
<FORMS>
<form id="1">
<title>Resource Details</title>
<elements>
<element id="1" text="Category" type="multiple" required="yes">
<values>
<value id="1">Category 1</value>
<value id="2">Category 2</value>
<value id="3">Category 3</value>
</values>
<validation>Please choose a category</validation>
</element>
<element id="2" text="Name" type="single" required="yes">
<values>
<value id="1">Name Test</value>
</values>
<validation>Please enter a name</validation>
</element>
<element id="3" text="Description" type="single" required="no">
<values>
<value id="1">Description Test</value>
</values>
<validation>
</validation>
</element>
</elements>
</form>
</FORMS
I want to use this xml file to design a form (in .aspx file).
Does any body how to do it in .NET (C#) I also need to include validation control in the form.
Please help. It is urgent.
Thanks