Re: XForms: submission with POST, does it work?

Pascal Sartoretti <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Solpa
Message-ID <[email protected]>
Allan Beaufour wrote:
> Hmm, it could be a bug, but also a problem with the form. 

Being an XForm novice, this is well possible. I must still make a 
minimal test case, but here is a snippet of the code:

     <xf:model id="default">
       <xf:instance src="Ticket.xml"/>
       <xf:submission id="sub"
         action="http://nbpsa.elca.ch:3000/SubmitRequest" method="post"/>

       <xf:bind nodeset="/request/requester/visa" required="true()"/>
       <xf:bind nodeset="/request/date" required="true()"
                type="xs:date"/>
       <xf:bind nodeset="/request/from" required="true()"/>
       <xf:bind nodeset="/request/to" required="true()"/>

The problem disappears when I comment the 4 "bind" lines.

> Were you getting any error messages on the javascript console?

No.

Pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.