I want to have a pop-up message when the user has successfully submitted a registration form. But being a newbie in PHP, I'm having a hard time with some validations. Need help :( Here's my code.
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>
The modal is what I want to show after the code is validated and the user submitted the form successfully.