We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27023
    • 36 Posts
    Hi,

    Is it possible to call multiple functions in one parameter?

    for instance
    &eFormOnValidate=`reqFields`


    So above we call function regFields, but what if i had another snippet with a function called formatFields that i also wanted to call on validation?

    thanks
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Put all of the code to be run on that event in one function.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org