The form field has name="tags[]". Yes, it all looks formally correctly, but won't it be semantically more easy to understand that in this case, when browser sends multiple tags[], the server code will read it as a single array called tags?
If I understand correctly, this is the way that the arrays from forms are processed in PHP.
On Tue, 30 Sep 2014 08:50:55 +0200, Sönke Ludwig wrote:
Am 29.09.2014 21:13, schrieb Maaaks:
Well, this is how I got all tags that were sent by browser as
tags[]:entry.tags = App.request.form.getAll("tags[]");I believe that the correct and obvious way for it should be
entry.tags = App.request.form.getAll("tags");But shouldn't the browser/HTML form be the one who is responsible for
naming that field? Does the form field read<input name="tags">or<input name="tags[]">?