Click to See Complete Forum and Search --> : XForms


Suhas Dhoke
05-10-2007, 07:38 AM
Hello All.

I m very new to XForms.
I add the Mozilla-XFoms add-ons for supporting the xForms.

When i tried to run the xform page in browser, it display as it is in an XML format.

Here is my test code related to XForms.
What i m doing wrong .. Please correct me.
Thanx in advance.


<xforms>

<model>
<instance>
<person>
<fname>Suhas</fname>
<lname>Dhoke</lname>
</person>
</instance>
<submission id="form1" method="get" action="tmp.php" />
</model>

<input ref="fname">
<label>First Name</label></input><br />

<input ref="lname">
<label>Last Name</label></input><br /><br />

<submit submission="form1">
<label>Submit</label></submit>

</xforms>