[Seaside] Submitting forms using Ajax
steviebornschein at googlemail.com
Wed May 18 12:42:24 UTC 2011
I am building a Magritte form and want to submit it using Ajax. The reason
is that, depending on the value of a select list, some of the other inputs
of the form have to be hidden or visible. In case users change the value of
the select list I want to save their changes and show the reduced or
extended form on the fly.
At the moment I reload the whole form using a Scriptaculous updater (that
works fine), but I have difficulties to save the updated model values.
Obviously, the form's contents will be reset if I don’t save them.
Does anyone have an idea how to save the form manually, without pressing the
'submit' button and without reloading the whole page?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside