<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Use components - it's an oo language :)<br><br>RS<br><br>&gt; Date: Mon, 22 Mar 2010 00:27:42 +0100<br>&gt; From: rh@4096.sk<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; Subject: [Seaside] jquery &amp; adding form fields<br>&gt; <br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I have an user registration form, where you can fill out name, address, <br>&gt; email etc. I want to be able to add multiple emails or phone numbers, so <br>&gt; there's a link which inserts an additional input field when clicked (with <br>&gt; jquery, it's not a full page refresh). Now I know how to do the rendering <br>&gt; part, but how do I add/modify the form callbacks, so that these new fields <br>&gt; get picked up by seaside upon submit?<br>&gt; <br>&gt; In the past I used to generate say 10 input fields for emails and hide <br>&gt; all but one of them with css, and have them show up with css again if <br>&gt; needed, but it seems kinda silly and limiting.<br>&gt; <br>&gt; rado<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               <br /><hr />The New Busy is not the old busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3' target='_new'>Get started.</a></body>
</html>