Form errors Will remove any attachments
Posted: Thu Jul 10, 2014 1:54 am
Script URL: http://www.slotdoctor.com/submit_ticket.php
Version of script: 2.5.3
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi,
I noticed when customer submits a form, but forgets a selection (any "required" validation), the form generates an error (as designed), but any attachments that were attached to ticket are removed without the customers knowledge. They would then click submit again after correcting the missing selection, unknowingly submitting a ticket without the attachments (unless they happen to look at the attachments again before sending).
Also when using "check boxes" on form, they are also unchecked when an error is generated, forcing the customer to check them again before submitting form.
EXAMPLE: I have 2 check boxes that are "required selections" located just after the message box (Please See my URL provided). These "check boxes" will deselect automatically when another unrelated "required" option generates a validation error.
I tried to use radio buttons, but when only ONE radio button is used, it is pre-selected. This won't work for my needs.
I currently modified the code from my other post here: viewtopic.php?f=13&t=4280&hilit=radio+button+selected as I do not want radio buttons to be automatically checked. This works fine but only if there are more than one radio button option to choose from. Seems when one radio button used, it is selected.
Thanks for any help or suggestions you might be able to provide. Larry
PS- I use "spry Tabs" and iframe on website, but have the same problem the normal route. I provided links to both pages for you to see.
Version of script: 2.5.3
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi,
I noticed when customer submits a form, but forgets a selection (any "required" validation), the form generates an error (as designed), but any attachments that were attached to ticket are removed without the customers knowledge. They would then click submit again after correcting the missing selection, unknowingly submitting a ticket without the attachments (unless they happen to look at the attachments again before sending).
Also when using "check boxes" on form, they are also unchecked when an error is generated, forcing the customer to check them again before submitting form.
EXAMPLE: I have 2 check boxes that are "required selections" located just after the message box (Please See my URL provided). These "check boxes" will deselect automatically when another unrelated "required" option generates a validation error.
I tried to use radio buttons, but when only ONE radio button is used, it is pre-selected. This won't work for my needs.
I currently modified the code from my other post here: viewtopic.php?f=13&t=4280&hilit=radio+button+selected as I do not want radio buttons to be automatically checked. This works fine but only if there are more than one radio button option to choose from. Seems when one radio button used, it is selected.
Thanks for any help or suggestions you might be able to provide. Larry
PS- I use "spry Tabs" and iframe on website, but have the same problem the normal route. I provided links to both pages for you to see.