Implements working dynamic form field editing in the custom_field class