I assume you're talking about working with the form before it was submitted? You probably want to attach a pop-up calendar or something like that? In this case, you need to resort to a scripting language that can work on the DOM in the browser. Javascript would be your best bet -- using jQuery for instance, something like that is a breeze. See http://wbsl.at/V2.
If we are talking post submission, check your $POST (or $GET/$REQUEST - depending on your form method) array by calling
print_r($_POST);
You'll see, that all you really get (except for the $_FILES array) are key/value pairs, where the key is the name attribute of your input field and the value is … well … you get the idea 😉