I'm trying to get post title to be added automatically inside of form textarea.
Here is the situation:
I've added extra button to TinyMCE Advanced which adds feedback form to the post. So admin can add feedback form to the post when he wants to. It works well if you don't count problem explained here: http://wordpress.org/support/topic/192658?replies=1
Now I have a different problem. With that feedback form customers can ask more information about the subject the post deals with. When they send the feedback to the website administrator, the administrator should know (based on the feedback) which post is in question. So I need to get some kind of info (preferably post title) inside of the form automatically.
My idea was to have default text inside the html textarea codes written like this "Could you send more info about (post topic)?". I tried to add that question and this code
<?php the_title(); ?> inside textarea but textarea prints the text as it is. It doesn't understand php. It understands it as text.
So how can I get that post title to be printed to the textarea? Any ideas how to make the textarea see php as php?
Any other ideas?