[Seaside] jquery & adding form fields
renggli at gmail.com
Mon Mar 22 06:00:15 UTC 2010
If you render additional form fields with callbacks into a form they
will automatically be picked up by Seaside when the form is submitted.
On Monday, March 22, 2010, radoslav hodnicak <rh at 4096.sk> wrote:
> 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.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside