XForms
#1

[attachment=5340]
What is XForms?



XForms is the next generation and successor of HTML forms.

XForms separate Data from the presentation.

XForms uses XML to define form data as well as store and transport data.

XForms is device independent.

XForms contains features like calculations and validations of forms



In Xforms framework, input data is described in two parts:

The XForm model - defines what the form is, what it should do, what data it contains
The XForm user interface - defines the input fields and how they should be displayed


<xforms> <model>   <instance>     <person>       <fname/>       <lname/>     </person>   </instance>   <submission id="form1" action="submit.asp" method="get"/> </model> <input ref="fname"><label>First Name</label></input> <input ref="lname"><label>Last Name</label></input> <submit submission="form1"><label>Submit</label></submit> </xforms>

Xform Container


XForms is not designed to work alone. There is no such thing as an XForms document.

XForms has to run inside another XML document.
It could run inside XHTML 1.0, and it will run inside XHTML 2.0.

XForms Namespace

If you want to use XForms in HTML (or XHTML 1.0), you should declare all XForms elements with an XForms namespace.
XForms is expected to be a standard part of XHTML 2.0, eliminating the need for the XForms namespace.

<html xmlns:xf="http://w32002/xforms"> <head>   <xf:model>     <xf:instance>       <person>         <fname/>         <lname/>       </person>     </xf:instance>     <xfConfusedubmission id="form1" method="get" action="submit.asp"/>   </xf:model> </head> <body> <xf:input ref="fname"><xf:label>First Name</xf:label></xf:input><br /> <xf:input ref="lname"><xf:label>Last Name</xf:label></xf:input><br /><br /> <xfConfusedubmit submission="form1"><xf:label>Submit</xf:label></xfConfusedubmit> </body> </html>
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: submission, submit kavit, xforms examples, xforms firefox,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  XForms computer science crazy 0 1,421 03-09-2009, 05:12 PM
Last Post: computer science crazy

Forum Jump: