Set value of a field based on other field's value

@jof2jc : Have a look through this thread : Trigger recalculation after change in customfield