html从附加的html文件提交表单

时间:2022-11-24 14:22:19

I've been looking around a lot for a solution, but no answer found yet. What I would like to do: I have a number of people I want to send a form to update some personal data. So I created a html form with a submit button and would like to attache it in a email. People can open the file, complete the form and push the send button. The form needs to be send to my mail address.

我一直在寻找解决方案,但尚未找到答案。我想做什么:我有很多人想发送一份表格来更新一些个人数据。所以我创建了一个带有提交按钮的html表单,并希望通过电子邮件附上它。人们可以打开文件,填写表格并按下发送按钮。表单需要发送到我的邮箱地址。

Problem: upon clicking the submit button nothing happens (no reply is send).

问题:点击提交按钮后没有任何反应(没有回复发送)。

As I don't have a website for this project, I can't use an online (published) form. So it needs to be a working file send as an attachment by mail and I should receive the data when people push the send button.

由于我没有这个项目的网站,我不能使用在线(已发布)表格。所以它需要是一个工作文件作为附件通过邮件发送,我应该在人们按下发送按钮时收到数据。

I hope someone has a solution. Thanx a lot already!

我希望有人有解决方案。已经很多了!

<!DOCTYPE html>
<html>
<body>

<h1>UPDATE FORM</h1>

<form action="MAILTO:mymail@something.com" method="post" enctype="text/plain"><input type="checkbox"> Ik wens niet meer deel te nemen aan klinische studies.</input> <br><br>
<table>
<tr bgcolor="#FF6601"><td width="400px" colspan="2"><font color="white" face="Arial"><b>Persoonlijke gegevens</b></font></td></tr>
<tr><td width="150px">Voornaam</td><td width="250px"><input type="textbox" name="firstname" size="38"></input></td></tr>
<tr><td width="150px">Achternaam</td><td width="250px"><input type="textbox" name="lastname" size="38"></input></td></tr>
<tr><td width="150px">Geboortedatum</td><td width="250px"><input type="textbox" name="birth" size="38"></input></td></tr>
</table>

<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>

</body>
</html>

1 个解决方案

#1


0  

Mailto needs to be hooked up to an email client that will allow it and has been configured to actually do it.

Mailto需要连接到允许它的电子邮件客户端,并且已经配置为实际执行它。

I STRONGLY suggest to not rely on it but simple send them a mail with

我强烈建议不要依赖它,但简单地发送邮件给他们

[X] Ik wens niet meer deel te nemen aan klinische studies.
Persoonlijke gegevens:
Voornaam: _______________
Achternaam_______________
Geboortedatum:___________

An alternative that for example the Dutch Tax office uses is an editable and signable PDF

例如荷兰税务局使用的替代方案是可编辑且可签名的PDF

How do I enable saving of filled-in fields on a PDF form?

如何在PDF表单上启用填写字段的保存?

#1


0  

Mailto needs to be hooked up to an email client that will allow it and has been configured to actually do it.

Mailto需要连接到允许它的电子邮件客户端,并且已经配置为实际执行它。

I STRONGLY suggest to not rely on it but simple send them a mail with

我强烈建议不要依赖它,但简单地发送邮件给他们

[X] Ik wens niet meer deel te nemen aan klinische studies.
Persoonlijke gegevens:
Voornaam: _______________
Achternaam_______________
Geboortedatum:___________

An alternative that for example the Dutch Tax office uses is an editable and signable PDF

例如荷兰税务局使用的替代方案是可编辑且可签名的PDF

How do I enable saving of filled-in fields on a PDF form?

如何在PDF表单上启用填写字段的保存?