Payment Details Amount 4200 O Cash O Credit Card Payment Type Cash & Credit Card Gift Check 500 Cash Amount 1000 Card Amount 3000 Save Payment Create the above form in a web page. • If Cash payment is selected, the Card Amount textbox will be disabled. • If the Credit Card payment is selected, the Cash Amount textbox will be disabled. • If Cash & Credit Card payment is selected, both the Cash Amount and Card Amount textboxes will be enabled. • If there is enough money in the Gift Check, Cash Amount and Card Amount textboxes (assuming they are enabled) to pay for the Amount, then the Save Payment button will be enabled. Otherwise, the button is disabled. • All textboxes should not accept negative values. If the user input a negative value and the focus leaves the textbox, the value should be automatically changed to zero. (use javascript for this)

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 19E
icon
Related questions
Question
Payment Details
Amount
4200
Payment Type
Cash
O Credit Card
Cash & Credit Card
Gift Check
500
Cash Amount
1000
Card Amount
3000
Save Payment
Create the above form in a web page.
• If Cash payment is selected, the Card Amount textbox will be disabled.
• If the Credit Card payment is selected, the Cash Amount textbox will be disabled.
• If Cash & Credit Card payment is selected, both the Cash Amount and Card Amount
textboxes will be enabled.
• If there is enough money in the Gift Check, Cash Amount and Card Amount textboxes
(assuming they are enabled) to pay for the Amount, then the Save Payment button
will be enabled. Otherwise, the button is disabled.
• All textboxes should not accept negative values. If the user input a negative value and
the focus leaves the textbox, the value should be automatically changed to zero. (use
javascript for this)
Transcribed Image Text:Payment Details Amount 4200 Payment Type Cash O Credit Card Cash & Credit Card Gift Check 500 Cash Amount 1000 Card Amount 3000 Save Payment Create the above form in a web page. • If Cash payment is selected, the Card Amount textbox will be disabled. • If the Credit Card payment is selected, the Cash Amount textbox will be disabled. • If Cash & Credit Card payment is selected, both the Cash Amount and Card Amount textboxes will be enabled. • If there is enough money in the Gift Check, Cash Amount and Card Amount textboxes (assuming they are enabled) to pay for the Amount, then the Save Payment button will be enabled. Otherwise, the button is disabled. • All textboxes should not accept negative values. If the user input a negative value and the focus leaves the textbox, the value should be automatically changed to zero. (use javascript for this)
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Data Binding
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning