I need you help on implementing a data validation.
Users enter a value on a form (Order.cfm) for number of files uploaded.
On the same cfm page, there is this <Ifram>(FileList.cfm), which let users browse through their drive/folders, and upload file(s) to our server, one at a time. (FileList.cfm has form Action =FileGet.cfm. And FileGet.cfm does all the uploads)
Then, the submit button on order.cfm will process the rest of the submission of data.
The validation supposed to be between how many files they said they are going to upload and how many files they actually uploaded.
If there is a discrepancy, they will have to either change the value on the field, or add/remove file from the list within the Iframe.
My order.cfm form cfinput name=”NumofFile” Value=#Order.NumofFiles#”
I believe that value is only available after the submit button is clicked. I have not found a way to retain/retrieve the actual number of files uploaded within the Iframe.
Any suggestion is appreciated!