```$post['values']['location']``` will only exist if the attribute is called location.. I hard coded that for testing at the moment.
The pseudo code comment above is what I should really be doing..