Results 1 to 5 of 5
Mar 27, 2012, 13:49 #1
- Join Date
- Dec 2005
- 0 Post(s)
- 0 Thread(s)
ajaxloading image shows even when form has validation error!
Can anyone please help with the following.
I have an email attachment form which I have set up.
It is set up so that it has a few fields which are required fields and others which are optional.
The form works fine and sends the attachment etc.
The issue is that when someone chooses to send a large file attachment they think the form doesn't work because it takes longer to process.
I've added an ajax loading image which works fine and should solve the issue but I obviously have the code in the wrong place on the page becasue the loading image shows whenever I click the submit button and I only want it to show once the form has been checked for validation errors. If the form finds no validation errors it shoudl then show the code.
Can anyone help with this please?
Here's an example of the file thats causing the problems:
Any help would be greatly appreciated with this. Thanks in advance.