Hi Guys,
Having a problem here in my dialogValidate() event.
I have a UX component with several controls (a form to fill out), and I submit this to a database.
I have in my dialogValidate() event, code to capitalize fields and so on. It worked previously, however now with, no changes to this component I get the following error:
"Error executing DialogValidate() event handler: command: e.dataSubmitted.Main_Address_Line_1 = w_upper(lower(e.dataSubmitted.Main.Address Property not found e.dataSubmitted.Main subelement not found. "
My dialogValidate() is as below. Please tell me if you spot any errors that I may have missed.
Having a problem here in my dialogValidate() event.
I have a UX component with several controls (a form to fill out), and I submit this to a database.
I have in my dialogValidate() event, code to capitalize fields and so on. It worked previously, however now with, no changes to this component I get the following error:
"Error executing DialogValidate() event handler: command: e.dataSubmitted.Main_Address_Line_1 = w_upper(lower(e.dataSubmitted.Main.Address Property not found e.dataSubmitted.Main subelement not found. "
My dialogValidate() is as below. Please tell me if you spot any errors that I may have missed.
Code:
function dialogValidate as p (e as p) e.dataSubmitted.Main_Applicant_First_Name = w_upper(lower(e.dataSubmitted.Main_Applicant_First_Name)) e.dataSubmitted.Main_Applicant_Middle_Name = w_upper(lower(e.dataSubmitted.Main_Applicant_Middle_Name)) e.dataSubmitted.Main_Applicant_Last_Name = w_upper(lower(e.dataSubmitted.Main_Applicant_Last_Name)) e.dataSubmitted.Main_Address_Line_1 = w_upper(lower(e.dataSubmitted.Main.Address_Line_1)) e.dataSubmitted.Main_Address_Line_2 = w_upper(lower(e.dataSubmitted.Main.Address_Line_2)) e.dataSubmitted.Main_Address_Line_3 = w_upper(lower(e.dataSubmitted.Main.Address_Line_3)) 'Repeating Section Requires a Loop dim i as n dim count as n count = e.dataSubmitted.qty.size() 'Loop over each entry in the array of data that was submitted for i = 1 to count e.dataSubmitted.qty[i]= w_upper(lower(e.dataSubmitted.qty[i])) next i 'End of repeating sections loop e.dataSubmitted.Beneficiaries_Agent_First_Name = w_upper(lower(e.dataSubmitted.Beneficiaries_Agent_First_Name)) e.dataSubmitted.Beneficiaries_Agent_Middle_Name = w_upper(lower(e.dataSubmitted.Beneficiaries_Agent_Middle_Name)) e.dataSubmitted.Beneficiaries_Agent_Last_Name = w_upper(lower(e.dataSubmitted.Beneficiaries_Agent_Last_Name)) e.dataSubmitted.Payment_Details = upper(e.dataSubmitted.Payment_Details) e.dataSubmitted.Source_of_Funds = upper(e.dataSubmitted.Source_of_Funds) end function
Comment