I have a contact form on every post. I am trying to display a different placeholder text on subject field on every post, where subject field placeholder text should be equal to the post title.
So this is current contact form tag:
[text text-900 placeholder "Subject"]
I tried replacing Subject with
<script>
$("input").val("<?php echo $post; ?>");
</script>
but it hasn't worked.
Please help me solve this problem :)