1 Reply Latest reply on Jun 22, 2007 10:03 AM by Pete Muir

    <s:validate> support for validation groups?

    Andrei Gh Newbie

      Hi,

      I need to design a page that has 2 submit buttons - each of them targeting different controls. For all controls I use <s:validate>.

      The natural design would be to have 2 different forms for it, but the problem is that, from a rendering perspective(what the user sees) they must be nested - but nested forms cannot be used.

      So the only solution I see is to have only one form, both buttons submitting the whole form, but each of them triggering validation only for a group of controls.

      Can this be done? Do you see other solutions/alternatives?

      Thanks