By default, custom form field codes are populated at the time they are first edited. There is an option to manually generate the form instead, so edits to activities and reports can be made prior to generating the form.
In an activity and report within Configuration there is an option labeled "Allow Custom Form field codes to be generated manually (advanced)" that can be enabled if "Use Custom Form Builder" is enabled.