Skip to content

issue with multiple fields upload #5

@ershadow786

Description

@ershadow786

Hello,
i have using this tutorial for simple file upload.It's working great,But i get stuck at one thing
there is one form and i have dynamically created fields like name,date and file eg

row 1 consist of name , date and file browse and submit button which submits row 1 data row 2 consist of name,date and file browse and submit button which submits row 2 data . .. and so on at one time only one row data is submitted

now problem is that when i fill row 1 data and browse file and do not submit data and fill row 2 data then and click row 1 submit button other fileds are properly submting but file submitted is of second row I know reason but can't able to resolve this problem.help me is sorting this out

problem is when i fill row 2 data without submiting row 1 data
then reportDocument = event.target.files <---- - this grabs the file ofn newest one;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions