Hey, I’m pretty green at this, so...anyway...here goes...
I’m trying to create a module that inserts simple form data into a non-modx table. I’m having issues with the form action. To test my understanding of modules, I simply created a form with an action posting back to action="<?=$_SERVER[’PHP_SELF’]?>". I had a hidden "cmd" field with a value of "test". Within the doc, I had an if statement that tested the value of cmd, and if it was "test", echo your basic "hello world.".
On submit, nothing happens.
Then I tried creating a form handler that essentially did the same thing. Nothing.
Anyone see what my likely obvious gaff is here?
Thanks in advance!
Also, for what it’s worth, I’ve tried using a config variable, as shown on sotwell.com’s tutorial. In some attempts, I’ve actually managed to load the entire manager itself in the frame. I’m takin’ on water fast.