Hacker News new | ask | show | jobs
by araneae 5734 days ago
Speaking of webforms, how would you treat a webform that has a variable number of fields? The non-js way I've seen this treated is to have like 5 fields and then reload the page if they want more (i.e. multiple files uploads), but it seems like there's no non-icky way to do this sans JS.

I am open to suggestions :).

1 comments

Recently, I had to implement that, and it came down to this: The multiple file upload functionality is an "icing" feature. We just set up the UI to upload one file at a time. Accessibility doesn't have to mean "it works the same". Reasonable alternatives are fine.