We will define single init block for multiple conditions?

We will define single init block for multiple conditions?

udaymagdumudaymagdum Posts: 23Questions: 16Answers: 0
edited December 2021 in SearchBuilder

Want to write single init block for all types of searchBuilder like num,string,html

To write custom init block to override plugin code.
single init block for multiple types num,string

Replies

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @udaymagdum ,

    I'm not sure what you mean here. Do you want to only have to write a single function and then set it for multiple conditions?

    As noted in the forum rules, please post a link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Thanks,
    Sandy

Sign In or Register to comment.