简体   繁体   English

当用户将电子邮件放入文本字​​段并单击提交时,如何控制发生的情况

[英]How to control what happens when a user puts their email in the text field and clicks submit

I am making a task list on my site, in which i will put different things to do.. 我正在网站上列出一个任务列表,在该列表中我将进行其他操作。

In the end they will be asked to put in their email address and click submit. 最后,将要求他们输入电子邮件地址,然后单击提交。

Now This is what I want to do when they click submit: 现在,这是他们单击提交时要执行的操作:

  • The next day,(not right away!) they should get an email that should link them to next task. 第二天,(不是马上!)他们应该收到一封电子邮件,将其链接到下一个任务。
  • This should be automatic, and I just have to set the submit buttons up with the right code provided by you. 这应该是自动的,我只需要使用您提供的正确代码设置提交按钮即可。

It will be my great honor if a volunteer helps me out. 志愿者的帮助将是我的荣幸。

I am also using wordpress 我也在用wordpress

You can't do this with just javascript. 您不能仅使用javascript做到这一点。 You will need that form to post to some back end server which can store the information (probably in a database), and process it at some point in the future when it is necessary. 您将需要将该表单发布到可以存储信息的后端服务器(可能存储在数据库中),并在将来必要时进行处理。

This can be done using JavaScript and Java Servlets. 可以使用JavaScript和Java Servlet来完成。 in action page call: action servlet. 在操作页面调用:操作servlet。 Servlet Should be able to send the email at particular time. Servlet应该能够在特定时间发送电子邮件。

How to send email automatically at particular time of day in java Click here to see how to send an email at particular time 如何使用Java 一天中的特定时间自动发送电子邮件 单击此处以查看如何在特定时间发送电子邮件

Try this too 也尝试一下

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何显示确认提示,显示当用户在文本字段中输入信息并单击js中的“提交”时输入的内容 - How to display an acknowledgement prompt showing what has been entered when user inputs info into text fields and clicks submit in js 当用户单击按钮x时,将文本添加到输入字段x - Add text to an input field x when user clicks button x Rails-用户单击提交按钮时如何更新表中的数据 - Rails - How update data in table when user clicks on submit button 用户单击提交按钮时如何调用两个不同的网页? - How to call two different webpages when the user clicks submit button? 当用户单击“提交”按钮时如何防止退出时发出JavaScript警报 - How to prevent javascript alert on exit when user clicks on submit button 当用户在编辑后单击链接时,如何从HTML文本字段捕获更改事件? - How can I catch a change event from an HTML text field when a user clicks on a link after editing? 当用户单击按钮时,将一串文本添加到输入字段中 - Add a string of text into an input field when user clicks a button 当用户单击“提交”按钮时,如何为变量分配任意值? - How to assign an arbitrary value to a variable when user clicks submit button? 用户单击提交时如何验证MDL表单? - how to validate MDL form when user clicks submit? Mailto标签将文本放入电子邮件的“收件人”字段,而不是移动设备上的主题 - Mailto tag puts text into the “To” field of email instead of subject on mobile devices
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM