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
精彩评论