W3C home > Mailing lists > Public > www-forms@w3.org > September 2003

Re: New to XForms - having difficulty

From: jmessing <jmessing@law-on-line.com>
Date: Tue, 23 Sep 2003 12:02:10 -0400
Message-Id: <200309231202.AA121766506@law-on-line.com>
To: <www-forms@w3.org>, "Allen.P.Holtz" <allen.p.holtz@nasa.gov>

I think this question is a very important one for html-familiar form developers who, like myself, are contemplating taking an important first step in a transition to xml forms. I believe that I sufficiently understand the html form submission mechanism and how it interfaces with server scripting languages that I use. I can also program uses of javascript in html forms, if only by searching the web for the method I need and adapting the code to my particular circumstance.

I think a question best descriptive of my own concerns is whether the html action attribute is the same in xml forms as in html forms and if not, what the differences are in terms of method calls and responses. Also, I would appreciate a short explanation or reference to a source on whether the javascript form capabilities are fully replicated or just functionally reproduced in xml forms, and if the latter, what calls return which results.

Thanks for your help and best regards.

---------- Original Message ----------------------------------
From: "Allen.P.Holtz" <allen.p.holtz@nasa.gov>
Date:  23 Sep 2003 10:48:25 -0400

>
>Hi,
>
>   I'm relatively new to XForms and I am having some difficulties with
>submitting a form.  I have a form that I would like to submit once the
>user has entered the data.  The problem is, I'm not sure how that
>happens.  I think my problem is on the web server.  
>
>   First, in the model I am defining the submission.  It looks something
>like this:
>
><xform:submission action="request" id="submit1" method="post"/>
>
>Initially, it appeared that the action attribute was defining a file on
>the web server that would be executed upon submission by the user. 
>After I read the specs I'm not so sure that's the case anymore.  The
>method attribute is the method of submission.  
>
>Later on in my document I have the following:
>
>   <xform:submit>
>      <xform:label>Submit Scenario</xform:label>
>   </xform:submit>
>
>When I try this, I get an error.  What kind of file is this request file
>that is listed in the action attribute?  Also, am I on the right track? 
>All I want to do is get the XML data into a file for now.  Later I want
>to pipe it in to an application.
>
>Thanks,
>
>Allen
>
>
Received on Tuesday, 23 September 2003 12:09:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:56 GMT