Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

150
Views
JavaScript - Default values of file inputs

In my app, users can fill a form (all kinds of inputs, including file inputs). At any point and after posting that form to backend, they can edit the form. In that case, the text/selects/numbers... are set to the value entered by the user previously.

What would the best practice be for file inputs ? I know I can't "preload" them for security reasons.

These files are stored on the backend. I need to find a way to figure out :

  • If the user hasn't changed the file
  • If the user has changed the file
  • If the user wants to remove the existing file (if possible ?)
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!