I want to do something like this:
http://www.gravityhelp.com/forums/topic/dynamically-populate-checkboxes?replies=2#post-19484
But I need the form to *dynamically* fill a hidden checkbox with the name of the post/page/taxonomy etc the form is embedded in so i can pass it to newsletter integrator... So I can't use a case/switch statement as done in linked example.
Much appreciated!