• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Design

 
pranav pranav
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Has any one designed a xml for a registration form ?
Any ideas on designing of form, with all input fields (checkbox, textarea,dropdown..)of html.
My idea is below... Any better/known ways to do it?
I want to know the pros and cons of this...
Thanks
<form>
<registration>
<field id="1" name="what's your fistname?" value="" contenttypeIDREF="1" required="y/n" order="1" hasref="y/n"/>
<field id="2" name="Do you like chocolate?" value="" contenttypeIDREF="2" choiceIDREF="300"/>
</registration>
<choice choiceID="300">
<choiceitem dbid="301">Yes</choiceitem>
<choiceitem dbid="301">No</choiceitem>
</choice>
<form>
 
DW Bolton
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by pranav pranav:
Hi All,
Has any one designed a xml for a registration form ?
Any ideas on designing of form, with all input fields (checkbox, textarea,dropdown..)of html.
My idea is below... Any better/known ways to do it?
I want to know the pros and cons of this...
Thanks
<form>
<registration>
<field id="1" name="what's your fistname?" value="" contenttypeIDREF="1" required="y/n" order="1" hasref="y/n"/>
<field id="2" name="Do you like chocolate?" value="" contenttypeIDREF="2" choiceIDREF="300"/>
</registration>
<choice choiceID="300">
<choiceitem dbid="301">Yes</choiceitem>
<choiceitem dbid="301">No</choiceitem>
</choice>
<form>


At a glance, your XML looks fine, but you're probably better off asking this question somewhere else, perhaps the XML and Related Technologies forum
 
pranav pranav
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic