Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to check file param exists ? #410

Open
wzhsh90 opened this issue Feb 25, 2021 · 1 comment
Open

how to check file param exists ? #410

wzhsh90 opened this issue Feb 25, 2021 · 1 comment
Labels

Comments

@wzhsh90
Copy link

wzhsh90 commented Feb 25, 2021

var formData = new FormData();
formData.append("picFile1", narrowFiles[0]);
formData.append("picFile2", narrowFiles[1]);

formData.append("pub_time", "xxxx");

the picFile1 and picFile2 is Multipart file type.
the pub_time is text

how can i check picFile1 org picFile2 is exists and how can i get pub_time filed value ?

the multipart example does not show how to get it .

@wzhsh90
Copy link
Author

wzhsh90 commented Feb 25, 2021

<input type="file" name="picFile1"/>
<input type="file" name="picFile2"/>
<input type="text" name="pub_time"/>

@robjtede robjtede added the good first issue Good for newcomers label Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants