I'm using custom post types and meta data and need to define the value of a form checkbox to be the title of the post.
echo '<input type="checkbox" name="activityType" value="'.the_title().'" />';
Calling this inside of the loop seems like it should work. Not much luck passing it through though.