Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Graham Carr 277 posts 389 karma points
    Apr 17, 2015 @ 13:40
    Graham Carr
    0

    Get form entries matching field type value

    I have the requirement to show reviews on a client's website. I need to retrieve all reviews that match the product that was selected when the form was submitted. The code I am using to retrieve the recordlist is as follows:

    var recordlist = Library.GetApprovedRecordsFromForm("30769e6f-9de0-4365-b67f-5964876dc0f0").Items.Where(x => x.State.ToString() == "Approved");

    Can anyone tell me what the best way is to retrieve all reviews that match a passed in product value on the assumption that the form has a field called "Product"

Please Sign in or register to post replies

Write your reply to:

Draft