Hi Sebastian,<br><br>thanks for replying so fast. Sadly I’m not so versed in SeaSide yet—could you explain further? I already tried to use the triggerForm message, but I don’t exactly know what to do in order to submit the form eventually.<br>
<br>Many thanks,<br>Stevie<br><br><div class="gmail_quote">2011/5/18 Sebastian Sastre <span dir="ltr">&lt;<a href="mailto:sebastian@flowingconcept.com">sebastian@flowingconcept.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><br></div><div>onReactingToSomethingOn: html</div><div><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap"><span style="white-space:pre-wrap">        </span>|</span> anUpdater |</div>
<div><br></div><div><span style="white-space:pre-wrap">        </span>anUpdater := self makeUpdaterOn: html.</div><div><br></div><div><span style="white-space:pre-wrap">        </span>anUpdater triggerForm: &#39;yourFormId&#39;</div><div>
<br></div><div><br></div><div>gives you ideas?</div><div><br></div><div><div><div><a href="http://twitter.com/#%21/sebastianconcpt" target="_blank">sebastian</a> </div></div><div><br></div><div>o/</div></div><div><br></div>
<div><br></div><br><div><div><div></div><div class="h5"><div>On May 18, 2011, at 9:42 AM, Stevie Bornschein wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5">Hi there,<br><br>I am building a Magritte form and want to submit it using Ajax. The reason is that, depending on the value of a select list, some of the other inputs of the form have to be hidden or visible. In case users change the value of the select list I want to save their changes and show the reduced or extended form on the fly.<br>

<br>At the moment I reload the whole form using a Scriptaculous updater (that works fine), but I have difficulties to save the updated model values. Obviously, the form&#39;s contents will be reset if I don’t save them.<br>

<br>Does anyone have an idea how to save the form manually, without pressing the &#39;submit&#39; button and without reloading the whole page?<br><br>Cheers,<br>Stevie<br></div></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br>