I have custom fields defined on wordpress in which I have entered an episode number for each post I have written. I want to use this value in a form, but I need to keep the form code all the same and just call it using shortcode in each post since there are way too many posts to edit manually.
I have tried
<input type="hidden" name="Episode" value="<?php the_meta(); ?>"/>
to set the value of Episode inside the form as the value for that specific post, but the php code is still able to be seen on the page source code so it is not going through. Is there a workaround?