Answered step by step
Verified Expert Solution
Question
1 Approved Answer
O X MATRIC NUMBER SCHOOL identify the errors and suggest the correct USM KKJ Video Contest Registration Form coding for the identified errors. FULL NAME
O X MATRIC NUMBER SCHOOL identify the errors and suggest the correct USM KKJ Video Contest Registration Form coding for the identified errors. FULL NAME Private Sub cmdSubmit_Click Dim Msg As Currency, Pronoun As Single Check to make sure full name entered' If txtName.Text = "" Then PHONE MsgBox "Registration requires a name.", vbOKOnly + vbCritical, "N NUMBER Exit Sub EMAIL End If Check to make sure matric number entered If txtMatric.Text = "" Then MsgBox "Registration requires a matric number.", vbOKOnly + vbCritical, "No Matric Number Entered" Exit Sub End If Check to make sure phone number entered If cmdPhone.Text = "" Then MsgBox "Registration requires phone number.", vbOKOnly + vbCritical, "No Phone Number Entered" Exit Sub End If Check to make sure email entered If txtEmail.Text = "" Then " MsgBox "Registration requires email.", vbOKOnly + vbCritical, "No Email Entered" Exit Sub End If Confirmation to continue Result = MsgBox("Do you want to continue?", vbYesNo + vbQuestion) If Result = vb Yes, Then MsgBox "Thank you for your cooperation.", vbOKOnly + vbinformation, "Registration Successful" Else: MsgBox "Feel free to edit anything.", vbOKOnly + vbInformation, "Registration Cancelled" Exit Sub End If If textSubmit = True, Then = Dim frmRegisteratioForm As New Form2 Me.Hide Form2.Show Form2.LabelName = txtName.Text Form2. TextMatrix = txtMatric. Text Form2.LabelSchool = txtSchool. Text Form2 LabelPhone = txtPhone. Text Form2.LabelEmail = txtEmail Text End If 2 End Sub
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started