Lecms 自定义表单提交功能
<form id="ctf_message_form" action="{$cfg[webdir]}index.php?comment-domessage.html" method="post">
<div class="ctf_cont"><textarea name="message[content]" tabindex="1" placeholder="留言内容"></textarea></div>
<div class="ctf"><input name="message[title]" type="text" required placeholder="留言标题" maxlength="100" /></div>
<div class="ctf"><input name="message[contact]" type="text" required placeholder="联系方式" maxlength="100" /></div>
<div class="ctf_body">
<div class="ctf_txt" title="请填写昵称"><input name="message[author]" type="text" required placeholder="称呼" maxlength="20" /></div>
<div class="ctf_txt" title="请填写验证码"><input name="message[vcode]" type="text" required placeholder="图形验证码" /><img id="captchaPic" src="{$cfg[webdir]}index.php?comment-vcode-name-message" onclick="this.src='{$cfg[webdir]}index.php?comment-vcode-name-message-r-'+Math.random();" alt="验证码" /></div>
<div class="ctf_sub"><input type="submit" id="ctf_submit" value="发表" /></div>
<div id="ctf_tips"></div>
</div>
</form>
https://www.lecms.cc/?thread-64.htm 表单插件