1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Partial Match on If Statement?

Discussion in 'XenForo Questions and Support' started by Gossamer, Jul 29, 2016.

  1. Gossamer

    Gossamer Active Member

    In a template, is there a way to do a partial string match with an if statement? For example, I have a bunch of custom user fields with ids that all begin with "skill". I was just curious if I could use one statement to match them all, instead of matching each one individually.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    To my knowledge the answer is no. I have reviewed the template helpers and I don't see the needed string functions to do this.
     

Share This Page