Tried doing this myself on the page where the form is displayed but it needs calls to PHP libraries and that produces parsing errors on the page when trying to evaluate the variables.
Now I am not a PHP programmer but my guess is this would not be too hard for the talented gentlemen of Statamic, given Google provides the libraries?