Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

..ooo T-Mobile LTE 3:41 AM 58% l. Imagine you are a manager of three consultants

ID: 3802165 • Letter: #

Question

..ooo T-Mobile LTE 3:41 AM 58% l. Imagine you are a manager of three consultants and you want to keep a running total of their value. You need a form where you can add brownie points to their running total whne they have done something for points from the running total when they error. Write a web form that has a dropdown list that is pre-loaded with company's three employers names(text and ID'S(value field), a textbo wherein you can type in a textbox for putput. Create one variable for each employee. Write the procedure tht can take the employee chosend in the dropdownlist, and give them more brownie points based on the number typed into the textbox (if you type -5 the employee lose 5 points ifyou trype employee gains 5 points). After each transaction write the status of each employee's value on seperate textbox, format the ouput nicely.

Explanation / Answer

For Text Field, we can write as below-

<form action="/action_page.php">

First name:<br>
  <input type="text" value="Text field"><br>
Last name:<br>
  <input type="text" name="lastname" value="Mouse"><br><br>
  <input type="submit" value="Submit">
</form>

For Value field, we can write as below-

<form action="/action_page.php">

  <fieldset>
    <legend>Personal information:</legend>
    First name:<br>
    <input type="text" name="firstname" value="Value Field"><br>
    Last name:<br>
    <input type="text" name="lastname" value="Value Field2"><br><br>
    <input type="submit" value="Submit">
  </fieldset>
</form>

For Dop-down list, we can write the code as below-