We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16085
    • 203 Posts
    knightknight Reply #1, 18 years ago
    Has anyone got eForm working with FoxyCart. If so what steps did you take?
      • 29635
      • 361 Posts
      The Man Can! Reply #2, 18 years ago
      Are you looking to integrate so you can get eForm’s validation? Just curious. I could take a look at the options but I’d love to know why you’re using eForm over just building the form in a snippet or chunk. (Not that I don’t think there are good reasons to use eForm. I want to make sure I don’t miss something while looking at options.)
        Need MODx Ecommerce? Try FoxyCart!
        • 7231
        • 4,205 Posts
        I don’t know anything about FC’s interface parameters, but to use eForm as a front end form you need to use one of the built in events and run a simple function to process the request. I think that to use the validation and process before sending the email you would use &eFormOnBeforeMailSent
        &eFormOnBeforeMailSent (optional)
        Expects a function name. This function will be called after the form has been validated and before the report and thankyou templates have been parsed and any emails have been sent out.
        There is a good example in the documentation for eForm in your assets/snippets/eform/docs folder.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]