PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

xiyou老师,求教一个问题,怎么让MAILTO后面跟变量 [复制链接]

1#
我做了个表单,现在能够实现前台提交发送至指定邮箱提醒,但是内容都是固定的,要看具体留言了什么需要到后台才能看到,我想能不能直接邮件就把留言内容反馈出来,但是MAILTO后面跟变量就会报错,实在不知道怎么弄,想请教下这个PA到底能不能实现。
<script type="text/javascript">
function set_repair()
{
document.forms["repair"].mailto.value="xxx@xxx.com";
document.forms["repair"].mailreply.value="";
document.forms["repair"].mailsubject.value="xxxxx";
document.forms["repair"].mailbody.value="xxxxxxxxx ";
return Check_ZdyForm("repair");
}

function repair_zdycheck(){
return true;
}
</script>
分享 转发
TOP
2#

[b]回复 [url=http://bbs.pageadmin.net/showtopic-35193.aspx#134422]2楼[color=Olive]xiyou[/color]的帖子[/url][/b]

那如果要内容需要多个字段,要怎么写代码
TOP
3#

[b]回复 [url=http://bbs.pageadmin.net/showtopic.aspx?forumpage=1&topicid=35193&page=end&jump=pid#134422]2楼[color=Olive]xiyou[/color]的帖子[/url][/b]

西游老师,我把表单所有内容都发到邮件要怎么操作
TOP
发新话题 回复该主题