<div dir="ltr"><div><div><div>Hello,<br><br></div>I'm trying to modify the layer upload process to require the user to choose a category when uploading.  I've got most of the pieces in place and working except I'm having difficulty actually adding the selected category to the post.  <br><br></div>As the simplest of all tests I'm just trying to append a stringified input element to form_data in LayerInfo.js ... like this:<br><br></div>        //existing code:<br><div><div>        form_data.append('charset', $('#charset').val());<br><br>        //my attempt to hardcode a category id<br>        form_data.append('category','21');<br>        console.log("category added to form data");<br><br></div><div>So I admit that I'm confused ... alerts don't seem to work and console.log doesn't seem to work ... are they disabled somewhere?  I've tried many other approaches ... the above seems like it should work but no ... so I'd be grateful for someone's input ... any input.  Thank you!<br><br></div><div>Charles</div></div></div>