I have a meta box (using WPAlchemy) on a particular page for an annual nominations form. Each year a new nominations form is created, and the name of that, e.g. '2011 Nominations' is added to the custom field in a new page.
I'd like to use that meta_value to display the form for the particular year, but so far haven't been able to get it to work. Is it possible to pass a meta_value to insert_cform, something like this:
insert_cform(get_post_meta($post->ID, 'form name', true))
or with WPAlchemy something like this:
insert_cform( '$nominations_form_metabox->the_value('nominations_form')' );
or possibly use my-functions.php to write a function for this?
Thanks for any help