Knowee
Questions
Features
Study Tools

can you write a code to validate form using php i have the html code only

Question

can you write a code to validate form using php i have the html code only

🧐 Not the exact question you are looking for?Go ask a question

Solution

Sure, I can help you with that. Please provide me with the HTML code for the form.

Similar Questions

<script type="text/javascript" >  function validate() {  var msg;  if(document.myForm.userPass.value.length>5){  msg="good";  }  else{  msg="poor";  }  document.getElementById('mylocation').innerText=msg;   }    </script>  <form name="myForm">  <input type="password" value="" name="userPass" onkeyup="validate()">  Strength:<span id="mylocation">no strength</span>  </form>

As a programmer for JScript, Inc., you have been assigned to a team to develop a Web site for IT support requests.  The Web designer you are working with is good at the visual aspects of the Web forms, but lacks the knowledge to implement the JavaScript code for form validation.  There is a new ticket submission form that needs validation.  The data on the form and field names are shown below.Ticket Input Form DataReqDate (request date, required, must be mm/dd/yyyy format)EmpID (employee ID, required, must be 6 alphanumeric characters, starting with a capital letter, followed by 5 numbers)FName (user first name, required, must start with capital letter)LName (user last name, required, must start with capital letter)ProbDesc (problem description, required)Your task is to write the JavaScript code for appropriate input validation for this form.  The validation code for the form will be in a function called validateInputForm(form) where the form parameter is an object with access to each form field by the names given in the list for each form.  The function will return true if the form input is valid, or false if the form input is invalid.  The function will be responsible for issuing appropriate alert messages for any invalid input, and should return after finding the first invalid input and notifying the user.  The validation function should use if statements and regular expressions where appropriate to validate the input.

Design a login form using HTML & JavaScript with following validations usingRegular Expression on username and password fields.1. Username and Password should not be both blank2. Username should not start with digit,_, @ or #3. Password length must be 8 to 16 characters

Select the statement below that is true about forms.{$a->questionintifier} Yanıta.It is recommended to use mailto: as the action on a form since that is the easiest for the web developerb.The <form> tag is optionalc.none of the above is trued.A form can be used to pass information to a program or script on the web server

What is HTML form tag? Discuss the different form attributes and design a simpleform to register student including name, roll no., semester, email, mobile number,gender, hobbies, and feedback, and also create two buttons submit and reset

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.