Which of the following is the best way to ensure a form field is non-empty prior to allowing the form to be processed? A) In the stored procedure the database will use for processing, check to see if the field passed is empty and return an error. B) Create a server side method that will return an error if the value of the field passed in is empty. C) Have a tool tip on the field in the form saying the field is required. D) Create a Javascript method to validate the field and assign it to the form’s onsubmit method.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter3: Creating Tables
Section: Chapter Questions
Problem 7SCG: The SERVICE_REQUEST table uses the CHAR data type for the DESCRIPTION and STATUS fields. Is there an...
icon
Related questions
icon
Concept explainers
Question

 Which of the following is the best way to ensure a form field is non-empty prior to allowing the form to be processed?

A) In the stored procedure the database will use for processing, check to see if the field passed is empty and return an error.

B) Create a server side method that will return an error if the value of the field passed in is empty.

C) Have a tool tip on the field in the form saying the field is required.

D) Create a Javascript method to validate the field and assign it to the form’s onsubmit method.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr