Store html forms details in AWS s3 bucket

Hi all, Is there a way to store the input field and image tag from HTML forms in an S3 bucket using Javascript? If so, please provide a blog post or solution link.