Creating a document in a specific folder using StdSmartSuiteR6DocLib

I created a database using the StdSmartSuiteR6DocLib template.

This is the functionality that I am trying to add:

When a user creates a new document and presses the save button, I want ot give him a list of folders and put the newly created document in the chosen folder.

This is what the save button looks like now:

@If(@IsValid;

@Do(@Command([FileSave]); @Command([FileCloseWindow])); “”)

Would I be able to add the required functionalty using Formula language or would I have to use lotusScript.

I think I can figure out how to do it in LS, but am not sure about Formula Language.

Thanks fo your time.