diff --git a/src/controllers/formController.js b/src/controllers/formController.js
index 663b11bc6..e83a8c1a3 100644
--- a/src/controllers/formController.js
+++ b/src/controllers/formController.js
@@ -65,8 +65,9 @@ const formController = function (Form,formResponse) {
 
     const deleteFormFormat = async function(req,res){
         try {
-            const {formID}=req.body;
-            let result=await Form.deleteOne({ _id : formID});
+            // here id is the record Id of the form.
+            const {id}=req.body;
+            let result=await Form.deleteOne({ _id : id});
             // Check if the form was actually deleted
             if (result.deletedCount === 0) {
                 return res.status(400).json({ message: 'Error removing Form.' });