Technote Details :: Submitting a form with a file field refreshes the whole page

Issue

I have a form with one or more file fields in an AJAX panel. I have specified the correct redirect after submitting the form (i.e. index.php?PanelName__state=StateName)

When submitting the form, the whole page is refreshed, instead of changing just the AJAX panel that contains the form.

Reason

This happens because forms with a file field must have the enctype attribute set to multipart/form-data.

Solution

There is nothing to change, because this is a technical limitation. The redirect will work fine, even if the whole page is refreshed.


nal - 10-10-2006 12:28:56 GMT +2

How do I Insert into the database using radio buttons -'yes','no' that displaying mulitple products? User can select mulitple products. The data should be insert into orders_products table.

Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.