• I’m trying to use text boxes to gather current post title, user and date and place them into a form…
    In a regular text box I can do something like this and it works perfectly:

    <input type="text" name="contactName" id="contactName" value="<?php echo get_the_title(); ?>" />
    How can I call my <?php ?> stuff in your text fields? If I put it under the Placeholder field it doesn’t run the php… it treats it as text…

    http://wordpress.org/extend/plugins/wordpress-form-manager/

    [No bumping, thank you. If it’s that urgent, hire someone.]

Viewing 1 replies (of 1 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    Unfortunately this is not something that would work without explicitly facilitating it, and its not a good idea to do that, since it opens a huge security hole. I’m not sure what you need to do, but if all you need is the post title and stuff like that, you could put some javascript in a ‘note’ with no label (it will be invisible that way), or you could make a custom display template.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress Form Manager] using php in text fields’ is closed to new replies.