skip to Main Content

How to apply currency validation to text box using a regular expression? – Jquery

Consider this form: <form> <input type="text" value="" placeholder="Enter no. of employee" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(..*)./g, '$1');" required/> <input type="text" value="" placeholder="Enter Salary" required/> <input type="submit"/> </form> I want a regular expression validation for Enter salary text feild with following: The…

VIEW QUESTION

asp.net core – form values return null

Passing department and title models for use data in selectbox and passing employee model for save data from user. tring to pass values from partial view but in controller values return null. partial view: @model (List<Department> Departments, List<Title> Titles, Employee…

VIEW QUESTION

html form will not write to file (php script) – PHP Versions

I have an HTML file that contains the following form: <form action="" class="contact-form"> <div class="input-group tm-mb-30"> <input name="username" type="text" class="form-control rounded-0 border-top-0 border-end-0 border-start-0" placeholder="Name"> </div> <div class="input-group tm-mb-30"> <input name="email" type="text" class="form-control rounded-0 border-top-0 border-end-0 border-start-0" placeholder="Email"> </div> <div…

VIEW QUESTION
Back To Top
Search