Last active
August 29, 2015 14:10
-
-
Save majosystems/60274e41aea10c72dd93 to your computer and use it in GitHub Desktop.
a-blog cms フォームサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- BEGIN_MODULE Form --> | |
<!-- BEGIN step --> | |
<form action="?step=reapply" method="post"> | |
メールアドレス:<input type="text" name="email" value="" /><br /> | |
お名前:<input type="text" name="name" value="" /><br /> | |
連絡内容:<textarea name="message"></textarea><br /> | |
<input type="hidden" name="field[]" value="email" /> | |
<input type="hidden" name="email:v#required" /> | |
<input type="hidden" name="field[]" value="name" /> | |
<input type="hidden" name="field[]" value="message" /> | |
<input type="hidden" name="step" value="confirm" /> | |
<input type="hidden" name="id" value="contactForm" /> | |
<input type="submit" name="ACMS_POST_Form_Confirm" value="確認画面へ進む" /> | |
</form> | |
<!-- END step --> | |
<!-- BEGIN step#reapply --> | |
<form action="?step=reapply" method="post"> | |
メールアドレス:<input type="text" name="email" value="{email}" /><br /> | |
お名前:<input type="text" name="name" value="{name}" /><br /> | |
連絡内容:<textarea name="message">{message}</textarea><br /> | |
<input type="hidden" name="field[]" value="email" /> | |
<input type="hidden" name="email:v#required" /> | |
<input type="hidden" name="field[]" value="name" /> | |
<input type="hidden" name="field[]" value="message" /> | |
<input type="hidden" name="step" value="confirm" /> | |
<input type="hidden" name="id" value="contactForm" /> | |
<input type="hidden" name="takeover" value="{takeover}" /> | |
<input type="submit" name="ACMS_POST_Form_Confirm" value="確認画面へ進む" /> | |
</form> | |
<!-- END step#reapply --> | |
<!-- BEGIN step#confirm --> | |
メールアドレス:{email}<br /> | |
お名前:{name}<br /> | |
連絡内容:<pre>{message}</pre><br /> | |
<form action="?step=reapply" method="post"> | |
<input type="hidden" name="step" value="reapply" /> | |
<input type="hidden" name="id" value="contactForm" /> | |
<input type="hidden" name="takeover" value="{takeover}" /> | |
<input type="submit" name="ACMS_POST_Form_Chain" value="戻って修正" /> | |
</form> | |
<form action="?step=" method="post"> | |
<input type="hidden" name="step" value="result" /> | |
<input type="hidden" name="To[]" value="{email}" /> | |
<input type="hidden" name="id" value="contactForm" /> | |
<input type="hidden" name="takeover" value="{takeover}" /> | |
<input type="submit" name="ACMS_POST_Form_Submit" value="送信" /> | |
</form> | |
<!-- END step#confirm --> | |
<!-- BEGIN step#result --> | |
お問い合わせありがとうございました。メールを送信しました。 | |
<!-- END step#result --> | |
<!-- END_MODULE Form --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment