[Seaside] How to define default Button?
Johan Brichau
johan at inceptive.be
Mon Jul 22 15:36:00 UTC 2013
Hi Sabine,
Is it an option to define the 'save' button as the submit button and the rest as simple buttons?
This is done by setting the type of the button.
See here: http://stackoverflow.com/questions/290215/difference-between-input-type-button-and-input-type-submit
Johan
On 22 Jul 2013, at 16:32, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:
> Hi,
>
> I have a page with entryfields, comboboxes etc and some buttons.
> One button is the "Save" button.
>
> I want that, if the user presses "return" somewhere at the page, the save
> Button is "pressed"/submitted.
>
> How can I set the default button which is submitted when pressing the enter
> button?
>
> Sabine
>
>
>
> --
> View this message in context: http://forum.world.st/How-to-define-default-Button-tp4700070.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