Variable amount of File Upload Controls

I’m doing a web application that allows the user to specify how many file upload controls can be on their form. I’ve got the HTML to create the File Upload Controls, but not sure what to use in the name attribute as Notes seems to create random name consisting of $$File which is the field it stores it in, some numbers and $Body.

Thanks

Ross

Subject: Variable amount of File Upload Controls

It’s not random – the name indicates the CD record offset (the position) in the form’s $Body field where the file upload is located. That’s there to ensure that the form actually has a file upload control as part of its design. There is an INI entry that will allow you to turn off checking, but then anybody can upload anything to your server – essentially turning Domino into a Trojan vector. A better approach is to use a separate form for uploading, then manage where those uploads are attached back at the server.

Subject: RE: Variable amount of File Upload Controls

Thanks Stan, perfect.