Can anyone help me?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Archiving

I want to have my email address to default in the following code.

<form action="https://examples.webscript.io/attachments/file"; method="post" enctype="multipart/form-data">
<input type="text" name="email" />
<input type="file" name="attachment" />
<button type="submit">Send</button>
</form>
Photo of James7380

James7380

  • 1,002 Points 1k badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Drew N

Drew N, Alum

  • 262,826 Points 100k badge 2x thumb
Homestead does not allow uploads to the servers via forms. This is something that would need to be done via 3rd party forms.
Photo of Brian4612

Brian4612, Champion

  • 32,264 Points 20k badge 2x thumb
THis is what your HTML code instructs the page to do... Is this what you wanted?  The file selection could be done with a drop down menu with a corresponding submit button.

Photo of James7380

James7380

  • 1,002 Points 1k badge 2x thumb
Brian - I got the answer using JotForm. Thanks for the response. Jim
Photo of Brian4612

Brian4612, Champion

  • 32,264 Points 20k badge 2x thumb
Glad its worked out Jim

This conversation is no longer open for comments or replies.