posted 18 years ago
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>