Embed an HTML <form> within a larger <form>?

前端 未结 9 1898
我寻月下人不归
我寻月下人不归 2020-12-06 03:46

I want to have an HTML form embedded in another form like so:

9条回答
  •  感动是毒
    2020-12-06 04:38

    I resolved this by having multiple submit buttons in the form. The buttons reference different CGIs and brought along the additional fields that I needed to handle conditional processing in the CGIs.

    Code snippet

    
       [...] 
       
          
          
          
       
       [...] Add as many rows as needed, increment the 0 in all places Add an ending submit for overall processing instead of row processing:  
    
    

提交回复
热议问题