Did this give you what you needed Chris?
It lets us do what we need to do, I was asking more if there is a way to define these at a form level, without having to upload a library as a shared resource.
Ah, ok, I assumed that when you uploaded a library to the component it would go to a shared library. I've had a play now and I can see it on the form's resources tab, with the option to publish to another library.
This is perfect, thanks Ben.
Although I can add it to a page, it just doesn't seem right that it should go there.