Forums

collecting browser info

aforantman 30 May, 2012
Hi all,

Couple of questions.
Firstly we are having some ongoing issues with image uploads.
Various clients keep reporting back to us that the images are not coming through quite often when their customers fill out their forms.
Its very hard to get detailed information from our clients (about their customers) to try and test the problem.

Every time we try and test it we cannot replicate the non uploading image issue.

Is there any way that we can add some sort of code to the form that collects the users browser info?
We were thinking that this would be a great way to try and pin point the issue and separate user error from malfunctioning form fields.

Regards,

Anthony.
GreyHead 31 May, 2012
Hi Anthony,

Are you saving the form data to a Database table? If not I suggest that you add this so that you can go back and review what has happened (you could save the $_FILES array and some of the Upload Files data for investigation).

Joomla! has a JBrowser method that is quite good at identifying browsers; you could add this to a Custom Code action. There's an extract from the ChronoForms book here about using it with CFv3.

Bob
aforantman 31 May, 2012
Hi grey head,

Yep saving to tables.
I will have a look at your tomorrow and add to forms.
I will contact back again if I have any queries.

Thanks as always for your help.

Anthony...
This topic is locked and no more replies can be posted.