For my module I need a settings form where administrators should be able to enter an arbitrary number of variables.
I have tried setting up an AJAX 'Add more' button, analogous to the example found in the AJAX example module. When I click the button, it doesnt add an extra field and I don't get any errors.
Can anyone help me out?
Example code, and my code: https://gist.github.com/Tagini/8282034