Hi!
I am mad about to find the way that forms work in MODx. If I code the same PHP scripts, that I always use normaly, I do not obtain any data. I do not understand how the form works in MODx. . A simple example:
In MODx, in the page indentify with index.php?id=8, for example I write:
$data=$HTTP_POST_VARS[’data’];
If ( !$data){
<form method="post" action="index.php?Id=8" id="Form">
<input type="text" name="data" id="data" />
<input type="submit" value="Submit" />
</form>
} else {
Echo ‘Data:’.$data;
}
This never works and I do not understand why

. I do not know if exists any way to obtain the data in MODx like alternative of:
$data=$HTTP_POST_VARS[’data’];
Also, I have read that exists eForm to manage form information. I test it but, either, I never have access to the data

Please, how I can do this?!
Thank you very much