Results 1 to 5 of 5

Thread: What are the Properties of XForms?

  1. #1
    Join Date
    Aug 2006
    Posts
    287

    What are the Properties of XForms?

    Hi friends,
    I am new to the XForms. I don't know much about the XForms. I want to know about the properties so that I can know the data restrictions and its types. So I thought to post here, because last time you really explained me neatly. So please explain me what are the Properties of XForms? Any other information related to the topic would be appreciated.!!
    Dimension 1100 (FMY032J) mini-tower
    2.53ghz Intel Pentium 4
    80 gig nfts HDD
    512 RAM
    Main circuit board: Dell 0CF458
    BIOS: Dell A00
    Display: Intel(R) 82865G Graphics Controller [Display adaptor]
    Multimedia: Sound MAX Integrated Digital Audio
    Windows XP Home SP2

  2. #2
    Join Date
    Jul 2006
    Posts
    286

    Re: What are the Properties of XForms?

    XForms uses properties to define data restrictions, types and behaviors. The following are some examples that can explain you more clearly.
    • When you make the required="true()" property, that means that the input field is required. You cannot keep that empty on submit.
    • A type="decimal" property will only allow a decimal value to be submitted. You can't enter any other value.
    • A calculate property can calculate a value.
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

  3. #3
    Join Date
    Jul 2006
    Posts
    442

    Re: What are the Properties of XForms?

    You can use the bind element to bind XForms properties to XForms data, since this is one feature of the XForms. In the example described below, the <bind nodeset="person/lname" required="true()"> specifies that the lname input field is required :
    Code:
    <model>
      <instance>
        <person>
          <fname/>
          <lname/>
        </person>
      </instance>
      <bind nodeset="person/lname" required="true()"/>
    </model>
    "When they give you ruled paper, write the other way..." J.R.J.

  4. #4
    Join Date
    Aug 2006
    Posts
    227

    Re: What are the Properties of XForms?

    The following are some reference of the XForms Properties :
    • calculate - This property defines a calculation to be performed on the item.
    • constraint - This property defines a constraint for the item.
    • p3ptype - This property defines a P3P data type for the item.

    Model item property is the somewhat unwieldy name XForms gives to XPath nodes that have additional XForms properties. XForms defines a number of such properties that, through the flexibility of XPath, can be applied readily to the instance data.
    I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.

  5. #5
    Join Date
    Aug 2006
    Posts
    235

    Re: What are the Properties of XForms?

    An XForms 1.0 defines these following useful properties :
    • A required - This property is required when you set the value to true. the signals that the attached instance of data should not be blank.
    • A relevant - This property defines the controls are attached instance of data is relevant or not.
    • readonly - This property defines an edit restriction for the item.
    • relevant - This property defines how relevant the data is.!
    • type - This property defines the data type for the item.
    3.2 (northwood)
    2gig ram
    ATI AIW X800xt 256mb
    Gigabyte GA-8knxp 875p Chipset
    Optiwrite 8X DVD Burner
    Win XP PRO Sp2 (Works Perfectly)
    2 SATA Raptor 74gig Raid 0
    2 7200 IDE 320gig HD

Similar Threads

  1. What are the Selection Controls of XForms?
    By super soaker in forum Software Development
    Replies: 4
    Last Post: 03-03-2010, 06:37 AM
  2. What are the Input Controls for the XForms?
    By Bigga Lexx in forum Software Development
    Replies: 5
    Last Post: 03-03-2010, 06:21 AM
  3. How to use Dates and Times in XForms?
    By Zavier in forum Software Development
    Replies: 5
    Last Post: 03-03-2010, 06:00 AM
  4. What are the XForms and XPath?
    By Nathen in forum Software Development
    Replies: 5
    Last Post: 03-03-2010, 05:35 AM
  5. How to use XForms in PHP?
    By Xylina in forum Software Development
    Replies: 4
    Last Post: 03-03-2010, 02:43 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,260,104.38092 seconds with 17 queries