Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"SE1505_CE150327_LA MINH KHOI"
Bootstrap 4.1.1 Snippet by
minhkhoi2411
4.1.1
Preview
HTML
JS
View Full Screen
Fork
Fork this
134
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>SE1505,CE150327,LA MINH KHOI</legend> <div class="jumbotron text-center" style="margin-left:100px"> <h1>Send Feedback</h1> </div> <!--Phone--> <div class="form-group"> <label class="col-md-4 control-label" for="phone">Phone</label> <div class="col-md-8"> <input id="phone" name="phone" type="text" placeholder="Please enter your phone here" class="form-control input-md" required=""> </div> </div> <!--Feedback Type--> <div class="mb-3"> <label class="form-label" for="newField5">Feedback Type</label> <select class="form-select" id="newField5" aria-label="New Field 5"> <option value="1">Academic Service</option> <option value="2">IT Service</option> <option value="3">Student Service</option> <option value="4">Food Service</option> <option value="5">Training Activities</option> </select> </div> <!----> <div class="form-group"> <label class="col-md-4 control-label" for="feedback">Feedback</label> <div class="col-md-4"> <textarea class="form-control" id="feedback" name="feedback"></textarea> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="singlebutton"></label> <div class="col-md-4"> <button id="singlebutton" name="singlebutton" class="btn btn-primary">Send Feedback</button> </div> </div> </fieldset> </form>
function checkPhoneNumber() { var flag = false; var phone = $('phone').val().trim(); phone = phone.replace('(+84)', '0'); phone = phone.replace('+84', '0'); phone = phone.replace('0084', '0'); phone = phone.replace(/ /g, ''); if (phone !== '') { var firstNumber = phone.substring(0, 2); if ((firstNumber == '09' || firstNumber == '08') && phone.length == 10) { if (phone.match(/^\d{10}/)) { flag = true; } } } return flag; }
Related:
See More
Free Template
Vue Paper Dashboard
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76