Hi,
I'm building a web app that will have a lot of forms. Most of them have fieldsets in common that I organized in subforms.
I've also made a set of JavaScript functions for each fieldset to automatically fill its fields.
I've made a php file and a js for each subform but I can't get how to dynamically link them.
I'd like the subform file to take care of what js file it needs. Is there a way to do so?

