WordPress.org

Forums

Form Manager
[resolved] Custom display template - pull the form fields in by there nickname (5 posts)

  1. vaevictis1986
    Member
    Posted 3 years ago #

    I was wondering if there was a way to pull the form fields in by there nickname or label out side the loop in the display template. Im wanting to build custom layout instead of just listing out the field one after another.

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

  2. gaospecial
    Member
    Posted 3 years ago #

    you need to read this:
    fm_summary_get_item_label($nickname) – get an item’s label by nickname.
    fm_summary_get_item_value($nickname) – get an item’s value by nickname.

    see http://www.campbellhoffman.com/question/customize-the-e-mail-notifications/

  3. enderpal444
    Member
    Posted 3 years ago #

    Is it just me or do this not work? I place this code into my single.php template and it doesn't return anything.

    <?php fm_summary_get_item_value('song-mp3'); ?>

  4. hoffcamp
    Member
    Plugin Author

    Posted 3 years ago #

    Try including 'echo', <?php echo fm_summary_get_item_value('song-mp3'); ?>

  5. barryt06
    Member
    Posted 2 years ago #

    Hi,

    I just had to register here to say a massive THANK YOU to hoffcamp, your plugin is fantastic. I installed it and I was thinking, yea this is nice but I have a dropdown list and if the answer isnt in there, I want the use r to be able to select other, have a filed appear and then let them enter their custom answer, and guess what, the plugin does that, with such ease, not to mention all the other cool features it has.
    Again Thank you! Now to play around with some custom templates :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Form Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic