• Andrei G.

    (@27shutterclicks)


    Hi,

    I am aware of the filter_entries filter that can be used to change the value of fields or add entry IDs, etc.

    What is unclear, though, is how can it be limited to a certain form?

    If I specify a certain field ID to be filtered for one form, it will mess up the value of the field of another form for which Sticky List is enabled and where the same field ID number may be an entirely different type of field.

    Any suggestions?

    Thanks.

    https://ww.wp.xz.cn/plugins/gravity-forms-sticky-list/

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

    (@fried_eggz)

    Yes. When using the filter you can check the form id and if it’s the wrong id, don’t do anything.

    If ($entry[“id”] != 1) {
    // do nothing
    }else{
    // your code
    }

Viewing 1 replies (of 1 total)

The topic ‘Filter entries and multiple forms’ is closed to new replies.