mreiter
Newbie
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
|