<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>> Date: Mon, 22 Mar 2010 00:27:42 +0100<br>> From: rh@4096.sk<br>> To: seaside@lists.squeakfoundation.org<br>> Subject: [Seaside] jquery & adding form fields<br>> <br>> <br>> Hi,<br>> <br>> I have an user registration form, where you can fill out name, address, <br>> email etc. I want to be able to add multiple emails or phone numbers, so <br>> there's a link which inserts an additional input field when clicked (with <br>> jquery, it's not a full page refresh). Now I know how to do the rendering <br>> part, but how do I add/modify the form callbacks, so that these new fields <br>> get picked up by seaside upon submit?<br>> <br>> In the past I used to generate say 10 input fields for emails and hide <br>> all but one of them with css, and have them show up with css again if <br>> needed, but it seems kinda silly and limiting.<br>> <br>> rado<br>> _______________________________________________<br>> seaside mailing list<br>> seaside@lists.squeakfoundation.org<br>> 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>