This:
field1 = $_GET['field1'];
Should be this:
$field1 = $_GET['field1'];
Then you can check it with:
echo $field1;
(Substitute POST for GET if you are actually doing a POST method)
If this doesn't get your variable, then you need to start looking at your form and verifying that the name of the hidden field matches your POST (or GET) value.
Also, you mentioned you are doing a POST. Change it to a GET temporarily. It can make it easier to see what is being passed when you can see it in the URL. Once you get things running OK, change it back to a POST and verify its operation.