4 ms·
What circumstances call for nesting form elements,?
by Varriount 5y ago
What circumstances call for nesting form elements,?
- testudovictoria 5y agoIf a dev finds a form to be nested, it's usually because something was tacked on as an afterthought. I'm speaking from experience. I had a project that had applications associated with it. Forms are the natural way to express this. There were some disclosures associated with the application, and there was a modal associated with emailing the disclosures. I needed to add some front end validations to this modal. No matter what I tried, I could not get these validations to trigger correctly. I spent an entire work day on trying to get a library to work with this modal. It wouldn't work, because changing the modal's div to a form tag would cause errors or unexpected behavior due to the nested form tags. TL;DR: Nothing requires it. Devs might not understand the implications.
- MaurizioPz 5y agoworking with web forms https://docs.microsoft.com/en-us/aspnet/web-forms/ https://docs.microsoft.com/en-us/aspnet/web-forms/ (Oh the nightmares!)
- deleted 5y ago[deleted]
- austincheney 5y agoNone. There is no good reason to do this. It doesn't stop people from doing it.