ユーザーが登録フォームを正常に送信したときにポップアップメッセージが表示されます。しかし、PHPの初心者で、私はいくつかの検証では苦労しています。ヘルプが必要です:(ここに私のコードです。登録が成功した後にポップアップメッセージが表示される
my buttons here <div class="row">
<div class="col-lg-12" style="text-align: center;">
<input class="btn btn-success" type="submit" value="<?php echo __('Register'); ?>"/>
<input class="btn btn-warning" type="reset" value="<?php echo __('Reset');?>"/>
<input class="btn btn-danger" type="button" value="<?php echo __('Cancel'); ?>" onclick="javascript:
window.location.href='index.php';"/>
</div>
enter code <div class="modal fade success-popup" id="success" tabindex="-1" role="dialog" aria-labelledby="modal-label" style="transition: .3s ease all;"><div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">x</span></button>
<h4 class="modal-title" id="modal-label">Thank You!</h4>
</div>
<div class="modal-body text-center">
<i class="fa fa-check" aria-hidden="true" style="border-radius: 50%; font-size: 35px;"></i>
<p class="lead">Registration form successfully submitted.</p>
<a href="index.php" class="btn btn-default" style="text-decoration: none;">Go To Home</a>
</div>
</div>
モーダルコードが検証され、ユーザーが正常にフォームを送信した後、私が見せたいものです。
を
ようこそスタックオーバーフロー!あなたのコードが「うまくいかない」方法を詳しく説明できますか?あなたは何を期待していましたか、実際何が起こったのですか?例外/エラーがある場合は、それが発生した行と例外/エラーの詳細を投稿してください。これらの詳細を入力または編集してください。 – FrankerZ
http://getbootstrap.com/javascript/#modals –