How to edit CCK form?
For achieving this goal you have to implement hook_nodeapi

In presave operation you can get desired value.

Example code you can get from the D6 release of the Examples for Developers module.