diff --git a/forms_builder/forms/forms.py b/forms_builder/forms/forms.py
index <HASH>..<HASH> 100644
--- a/forms_builder/forms/forms.py
+++ b/forms_builder/forms/forms.py
@@ -47,6 +47,11 @@ class FormForForm(forms.ModelForm):
                 field_args["widget"] = getattr(import_module(module), widget)
             self.initial[field_key] = field.default
             self.fields[field_key] = field_class(**field_args)
+            # Add identifying CSS classes to the field.
+            css_class = field_class_name.lower()
+            if field.required:
+                css_class += " required"
+            self.fields[field_key].widget.attrs["class"] = css_class
 
     def save(self, **kwargs):
         """
Add CSS classes to form fields using field type and required.