Page 1 of 1

develop asp.net page that allows user to enter credit card information. check question below

Posted: Sat Nov 27, 2021 10:36 am
by answerhappygod
develop asp.net page that allows user to enter credit card information. check question below
Develop Asp Net Page That Allows User To Enter Credit Card Information Check Question Below 1
Develop Asp Net Page That Allows User To Enter Credit Card Information Check Question Below 1 (206.62 KiB) Viewed 73 times
Submission Guidelines Zip the folder that contains the Visual studio project and upload it in the Blackboard. Description of Assignment The goal of this assignment is to practice how to integrate JavaScript code into an ASP.NET web application to perform client-side processing and validation. Develop a simple one-page web application that allows the user to enter credit card payment details. . The webpage must provide the following controls so that the user can enter their credit card details: Provide a drop down to choose the type of card from options - Master, Visa or Amex. If the user selects Master or Visa, then provide a total of 4 textboxes for the user to enter the card number with 4 digits in each text box (total 16 digits). However, if the user selects Amex, then provide a total of 3 textboxes for the user to enter the card number with 4 digits in the first textbox, 6 digits in the second textbox, and 5 digits in the third textbox (total 15 digits). When the user finishes entering the expected number of digits in each textbox, automatically shift the focus to the next textbox. You must use JavaScript to implement this functionality. Provide a textbox to enter the CVV number. If the user selects Master or Visa, then verify that the user entered exactly 3-digit CVV number. However, if the user selects Amex, then verify that the user entered exactly 4-digit CVV number. You must use JavaScript to perform this validation and show an error message if the validation fails. You will not get credit for this if you use ASP.NET validation controls to implement this functionality. Provide a button called Submit Payment, and when the user clicks on it implement a client-side JavaScript function that does the following: If all the above criteria for the card# and CVV# are met, show a message at the bottom of the page in green color saying Payment processed successfully. o If any of the above criteria for the card# and CVV# are not met, show a message at the bottom of the page in red color saying Error processing payment, please check card details. o