<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>onReactingToSomethingOn: html</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-tab-span" style="white-space:pre">        </span>|</span>&nbsp;anUpdater&nbsp;|</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>anUpdater := self makeUpdaterOn: html.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>anUpdater triggerForm: 'yourFormId'</div><div><br></div><div><br></div><div>gives you ideas?</div><div><br></div><div><div><div><a href="http://twitter.com/#!/sebastianconcpt">sebastian</a>&nbsp;</div></div><div><br></div><div>o/</div></div><div><br></div><div><br></div><br><div><div>On May 18, 2011, at 9:42 AM, Stevie Bornschein wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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'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 'submit' button and without reloading the whole page?<br><br>Cheers,<br>Stevie<br>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote></div><br></body></html>