Thanks for the quick reply. I am using Mold for the field validation, and straight HTML fields (not JQuery form fields. My original form had a submit button to invoke the callback to validate the Mold). Is is possible to add a callback to the #fieldset that will be invoked when I serialize the form, or do I have to use the JQuery form fields and add callbacks to each of them.<div>
<br><br><div class="gmail_quote">On Fri, Feb 6, 2009 at 2:43 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">&gt; addButton: &#39;Create&#39; do: (html jQuery ajax serializeForm callback: [self<br>
&gt; halt]);<br>
&gt; addButton: &#39;Close&#39; do: html jQuery new dialog close);<br>
&gt; with: [html render: self createTournamentComponent].<br>
&gt; I&#39;m not sure what to pass in as the callback, in order to retrieve the<br>
&gt; serialized fields. The #callback does not accept any parameters. Just<br>
&gt; getting started with Seaside, and may be thinking about this in the wrong<br>
&gt; way.<br>
<br>
</div>#serialize:, #serializeForm, and #serializeThis all do not need a<br>
special callback, they simply trigger the callbacks that you assigned<br>
to your form and form fields. So just write (html jQuery ajax<br>
serializeForm) what will look for all form elements in the enclosing<br>
form and trigger their respective callbacks with the correct values.<br>
<br>
Btw, this is exactly the same as with #triggerForm: and<br>
#triggerFormElement: in Scriptaculous.<br>
<br>
Cheers,<br>
Lukas<br>
<font color="#888888"><br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><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>
</font></blockquote></div><br><br clear="all"><br>-- <br>-JT<br><br>Eolas faoi run ata sa riomhphost seo agus i gceangaltan ar bith ata leis agus is le haghaidh iul agus usaid an te a bhi beartaithe lena fhail agus do siud amhain a sainiodh e. D&#39;fheadfadh an t-eolas seo a bheith faoi reir ag pribhleid dli no ghairmiuil agus go mbeadh cearta sealuchais intleachtuil san aireamh. &nbsp;Mas amhlaidh nach tu an faighteoir a beartaiodh, ni mor duit gan an teachtaireacht seo na aon chuid de a usaid, a nochtadh, a choipeail, a scaipeadh, na a choimead. Mas tri dhearmad a fuair tu an riomhphost seo cuir e sin in iul don te a sheol chugat e laithreach agus scrios amach gach coip de as do choras riomhaireachta. &nbsp;Cibe tuairimi a chuirtear in iul sa teachtaireacht seo is leis an seoltoir fein iad ach amhain i gcas go ndeir an seoltoir go sonrach gurbh iad tuairimi ParsPro iad.<br>

</div>