How to process form in the layout?

Hello. How I can process the form that is placed in layout view? Where I have to place action for this form? Please help me, thanks

u can keep form same as other view.

in form action=>[‘redire/path’]