- From: Lee Standen <nom@standen.id.au>
- Date: Tue, 31 Oct 2006 16:04:23 +0800
- To: www-forms@w3.org
Hi Guys, I'm hoping someone has come across this, and knows the "correct" way to implement it. I'm trying to setup an submission so that a successful submission triggers another submission to occur, and I've not had too much luck so far. These are a couple of the things I've tried: This is a simplified version, but basically instance2 contains a list of values which are (potentially) changed when instance1 is submitted, so it needs to be refreshed before allowing the user to submit more forms. Ideas? Snippet: <xf:model id="mdl"> <xf:instance id="instance1" src="somepage.cgi" /> <xf:instance id="instance2" src="someotherpage.cgi" /> <xf:submission id="submission1" method="post" action="somepage.cgi" ref="instance('instance1')" replace="instance" instance="instance1"> <xf:send ev:event="xforms-submit-done" submission="submission2" /> </xf:submission> <xf:submission id="submission2" method="post" action="someotherpage.cgi" ref="instance('instance2')" replace="instance" instance="instance2" /> </xf:model> .... <xf:submit submission="submission1"> <xf:label>Save & Reload List</xf:label> </xf:submit>
Received on Tuesday, 31 October 2006 13:31:38 UTC