We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36786 ☆ A M B ☆
    • 209 Posts
    Hey guys. I had an idea and I just wanted to throw it out there... I regularly have forms in which I would like certain hooks to run depending on the form content (sign up for newsletter via mailchimp etc.) and I was wondering what people would think about hooks that run conditional on form content?

    I currently just stick in an If/Then statement into the hook code, but it's not exactly a clean or flexible solution. I would assume it might require a JSON string in a snippet parameter or something similar, but I personally think it would be very handy and well expand formit's capabilities... unless something went in one ear and out the other and there is a simpler solution lol.

    Would anyone like to see that as a feature? If so, and this betrays my newbie-ish status, how would one request such a feature be developed? Thanks, I just thought this could be a cool feature and maybe an interesting topic for discussion.
      Ben Morrison
      Hacking templates to pieces since 2003