CPS 3525 project 1 requirement and demo -
C++, HTML FORM & cgi using GET method.
Using a C++ program to do the followings. The error message and results should be displayed on the browser. Your project must be able to test through the below link.
Implmement the following web inputs from browser, web sample page is here
An input box to enter the user name, variable: name.
Two radio buttons to select the gender, variable name gender, two choices: F and M.
An input box to enter the age, variable name: age, range: >0 and <100.
An calendar input, type: date, variable name: birthday.
4 checkboxes, variable names and values: CPS1231, CPS2231, CPS2232, CPS3250.
An dropdown with 4 options, variable name: town, options: Union, Newark, Edison, Harrison.
An input box to enter a string, variable name: mydata.
Output messages should meet the following requirement:
First line: course id and YOUR name.
Display each input/selected value with meaningful prompt. Each input value should be in one line. (10%)
Print the count for each character and its ASCI # of the input string. (10%)
The above output should be sort by the character's ASCI # from low to high. (10%)
Print the letter and its count that has the maximum count. If there are two or more letters that have the same maximum count, please print all of them together in one line ending with the count. (10%)
Print the letter and its count that has the minimum count. If there are two or moe letters that have the same mimimum count, please print all of them together in one line ending with the count. (10%)
Validate each input based on the requirement below. If the input has any error, please display the corresponding error message in red color under each input.
All the above 7 inputs are required, cannot be empty. Display a meaningful error message if any input is missing or empty. (10%)
Display a meaningful error message if age is NOT an integer. (5%)
Display a meaningful error message if age is NOT in the correct range. (5%)
Calcuate the age from the birtday. Display a meaningful message if it is different the input age. Assume the current date is 10/22/2023. (10%)
You must use C++, not any other languages for the backend program.
Your project must be successfully tested using the links below. (10%)
Your HTML input attribute name must be exactly the same as the above.
Show ALL the corresponding error messages and results on the same web .