I searched through some googled sites without any definitive answer for this. I was trying to create some links using the delete.gif and edit.gif icons, which will pass several variables to another page. But it looked really unsightly with the many variables appearing on the url, so I thought why not create forms instead of links, with input type="image". So I created separate forms for the different icons (there are several edit and several delete icons on 1 page), with different values of the variables being passed through input type="hidden". But i found that regardless of with icon i click on, the variables sent is always the last one declared? It's as if all the different values of the variables were sent, and the last value of a certain variable simply overwrites the earlier values. Any idea on this?
Also, is it considered a taboo to use javascript in moodle codes?