Answered
Problem with ListAppend()
Code Attached...
I am writing some code that validates form data and upon finding something that is not correct, I would like to add the error message to a list.
Then when the validation is complete i can use a cfloop and create a list of the errors that are on the form for the user to resolve...
This should not be hard and I have no clue what I have wrong here... I have looked everything up and it should be working, but when I cfoutput my formErrorMsgs variable i get nothing and my list is empty to...
The flag "formError" is getting set to true somewhere because the error box displays... just empty...
Thanks for your help!
I am writing some code that validates form data and upon finding something that is not correct, I would like to add the error message to a list.
Then when the validation is complete i can use a cfloop and create a list of the errors that are on the form for the user to resolve...
This should not be hard and I have no clue what I have wrong here... I have looked everything up and it should be working, but when I cfoutput my formErrorMsgs variable i get nothing and my list is empty to...
The flag "formError" is getting set to true somewhere because the error box displays... just empty...
Thanks for your help!
