Query about JavaScript

Permalink
I’m have an event ticket system and tickets are a custom object and each ticket an entry on that object. Users book their tickets using custom forms that contain various JavaScript.

What I am wondering is the viability of the the JavaScript being contained within an attribute on the ticket entry, therefore giving an admin user easier access to tweak the scripts.

I don’t know if anyone has ever done this, or if it is possible?