[Seaside] jquery & adding form fields
Robert Sirois
watchlala at hotmail.com
Mon Mar 22 05:29:22 UTC 2010
Use components - it's an oo language :)
RS
> Date: Mon, 22 Mar 2010 00:27:42 +0100
> From: rh at 4096.sk
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] jquery & adding form fields
>
>
> Hi,
>
> I have an user registration form, where you can fill out name, address,
> email etc. I want to be able to add multiple emails or phone numbers, so
> there's a link which inserts an additional input field when clicked (with
> jquery, it's not a full page refresh). Now I know how to do the rendering
> part, but how do I add/modify the form callbacks, so that these new fields
> get picked up by seaside upon submit?
>
> In the past I used to generate say 10 input fields for emails and hide
> all but one of them with css, and have them show up with css again if
> needed, but it seems kinda silly and limiting.
>
> rado
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100321/5d845192/attachment-0001.htm
More information about the seaside
mailing list