Auto create folder for upload file based on a field value in same form


I have a form that has a “Client name” field and file upload field. I need the file upload to be placed in an autocreated folder based on the client name. User will select their client name in the select field and upload files.

As this is used based on different clients, uploading using the just one common folder will create an issue where the file names could be exactly the same. Further to this, it is also possible to rename the file on upload?

I’m completely relying on Scriptcase to develop my applications due to my lack of programming language. Would really appreciate it if a step by step answer can be given to resolve my issues.

Any help would be great!