开发者

Submit only certain fields

I have a huge fo开发者_如何学Gorm and I would like to submit only the fields that were modified on client side. So I need to decide, in client side, what fields to submit. Is it possible?

Submit always all fields and handle that in server side is not an option.


Just disable the fields that were not modified. Inputs with the disabled attribute are not submitted.

  • HTML4: 17.12.1 Disabled controls
  • HTML5: 4.10.19.2 Enabling and disabling form controls
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜