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

  1. vaevictis1986
    Posted 4 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.


  2. gaospecial
    Posted 4 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
    Posted 4 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
    Plugin Author

    Posted 4 years ago #

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

  5. barryt06
    Posted 4 years ago #


    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

About this Topic