[Seaside] Re: Triggerring save / submit of another form

Sven Van Caekenberghe sven at stfx.eu
Tue Mar 10 16:33:56 UTC 2015


if you use multiple, the contents of the others is lost, very logical/normal

> On 10 Mar 2015, at 17:23, Sanjay Minni <sm at planage.com> wrote:
> 
>> 
>> From book.seaside.st section 10.2 end ...
> 
> I assumed this meant that there can be multiple forms on a page 
> 
> "[...],.  Typically only a single form tag is needed on a page. form tags
> must not be nested but multiple form tags can occur, one after another, on a
> single page. Only the contents of a single form will be submitted by the web
> browser though (normally determined by the form in which the user clicked a
> submit button)."
> 
> regards
> Sanjay
> 
> 
> Sven Van Caekenberghe-2 wrote
>> I believe there can only be one form on a page.
>> 
>> This is discussed in the main book.
>> 
>>> On 10 Mar 2015, at 17:10, Sanjay Minni &lt;
> 
>> sm@
> 
>> &gt; wrote:
>>> 
>>> Hi
>>> 
>>> I thought this problem must already have a solution ... fairly
>>> commonplace
>>> 
>>> in a screen with multiple form areas - say master/detail or matrix like -
>>> if
>>> the user moves between areas and clicks a submitButton attached to a form
>>> then there is some data / state loss in the other form - so how can that
>>> be
>>> saved
>>> 
>>> also somewhat related - How can i trap the event lose focus or when i
>>> move
>>> out of a field  
>>> 
>>> regards
>>> Sanjay
>>> 
>>> 
>>> 
>>> Sanjay Minni wrote
>>>> Hi,
>>>> 
>>>> How can save data in a form other than the one in which the submitbutton
>>>> is clicked ? 
>>>> 
>>>> the page on www.uxfin.com contains 3 separate forms (separated by
>>>> horizontal rules). Users may typically leave midway while entering data
>>>> in
>>>> the top form and click a submit button on any of the 2 lower forms. At
>>>> that time the last value entered is not captured. 
>>>> 
>>>> How can I force this programmatically
>>>> 
>>>> Thanks
>>>> Sanjay
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -----
>>> ---
>>> Regards, Sanjay
>>> --
>>> View this message in context:
>>> http://forum.world.st/Triggerring-save-submit-of-another-form-tp4810872p4811056.html
>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>> _______________________________________________
>>> seaside mailing list
>>> 
> 
>> seaside at .squeakfoundation
> 
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> 
>> _______________________________________________
>> seaside mailing list
> 
>> seaside at .squeakfoundation
> 
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> 
> 
> -----
> ---
> Regards, Sanjay
> --
> View this message in context: http://forum.world.st/Triggerring-save-submit-of-another-form-tp4810872p4811063.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list