Remember me

Signature Image File is incorrect per submission

6 months 1 week ago #1

  • Chris's Avatar
  • Chris
  • Posts: 19
Hi there

When a form is submitted with a mandatory signature, the file attached to the email is randomly the wrong image file!

The first (oldest) sumbission is from 5th Oct:

ID #9 and the sig file is at images/baforms/signatures/form-1/signature-9.jpg - seem logical that the signature file uses the record ID.

But later I see:

10/Oct ID #17 has sig file at images/baforms/signatures/form-1/signature-7.jpg
10/Oct ID #18 has sig file at images/baforms/signatures/form-1/signature-17.jpg
11/Oct ID #19 has sig file at images/baforms/signatures/form-1/signature-18.jpg
11/Oct ID #20 has sig file at images/baforms/signatures/form-1/signature-19.jpg
11/Oct ID #21 has sig file at images/baforms/signatures/form-1/signature.jpg
11/Oct ID #22 has sig file at images/baforms/signatures/form-1/signature-2.jpg
..
..
and later
13/Oct ID #31 has sig file at images/baforms/signatures/form-1/signature-2.jpg

[Note: here (10/13 at 12 noon) configuration was changed to set "Attach Files" = Yes for the admin emails.]


then...

13/Oct ID #32 has sig file at images/baforms/signatures/form-1/signature.jpg
16/Oct ID #33 has sig file at images/baforms/signatures/form-1/signature-2.jpg
..
..
16/Oct ID #37 has sig file at images/baforms/signatures/form-1/signature-6.jpg

This is unexpected and a little embarassing as I would hope that the sig files always followed the ID?

Looking further in the /images/baforms/signatures/form-1 folder, I only see images :

signature.jpg to signature-7.jpg

The other records are nowhere to be seen!

Ideas?

6 months 1 week ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hello,
Thank you for contacting us

The number at the end of the file name is not the submission ID,
the file name is initially given signature.jpg,
then it checks for the presence of a file in the folder with the same name and if such a file already exists, then the name becomes signature-2.jpg and is checked again, checked until it finds an unoccupied file name. When a submission is deleted, the file is deleted and the name is freed

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum