diff --git a/opentech/apply/stream_forms/models.py b/opentech/apply/stream_forms/models.py index 3c34df543635e91fc8bb07d586038a85cb4edf24..239d5c00c0e0c4faa78dd8b226e7b203363d597c 100644 --- a/opentech/apply/stream_forms/models.py +++ b/opentech/apply/stream_forms/models.py @@ -21,8 +21,7 @@ class AbstractStreamForm(AbstractForm): block = struct_child.block struct_value = struct_child.value if isinstance(block, FormFieldBlock): - field_name = block.get_slug(struct_value) - form_fields[field_name] = block.get_field(struct_value) + form_fields[struct_child.id] = block.get_field(struct_value) else: form_fields[struct_child.id] = BlockFieldWrapper(struct_child) return form_fields