July 30, 2010, 09:14:16 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Always search the forum before posting !
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: input fields following file upload field are empty  (Read 1918 times)
mreiter
Newbie

Offline Offline

Posts: 8


« on: September 16, 2008, 12:28:01 pm »

If file upload fails all the input fields following the upload field are empty.

Example:
Create a form with the fields in the following order (within the field list): text_field_1, upload_field, text_field_2. Copy the file test.txt to the directory components/com_facileforms/uploads.
Submit the from with the following values: text_field_1 = “Test1”, upload_field = “test.txt”, text_field_2 = "Test2".
Catch the submitted values with
$text_field_1 = ff_getSubmit('text_field_1');
and so on.

You will get text_field_1 = “Test1”, upload_field and text_field_2 are empty.

Workaround: define upload field as last input field within list
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF © 2001-2006 Lewis Media
| Terms of Use | Privacy | Sitemap |