Check if values array isset & default fid to 0
Handle submits properly
Merge pull request #1 from mitchmac/7.x

Check if values array isset & default fid to 0