I have a form where users can add input fields with jQuery.
After submitting the
For multiple elements, you should give it a class rather than id eg:
Now you can get those using jquery something like this:
$('.task').each(function(){ alert($(this).val()); });