AnsweredAssumed Answered

Save script issue

Question asked by fmpro_novice on Aug 18, 2017
Latest reply on Aug 18, 2017 by fmpro_novice

I have a runtime that, when it opens, it has a field where the user can enter a new name for the db, then hit enter, or a button that fires a Save a copy script. It automatically puts the new file in a directory I want to put it in, and the new file pops open. Almost every part of this works great, except, if the user enters the same name of a file that already exists, no alert pops up, it just lets the script overwrite the file that's already in the folder.

 

Does anyone know how I can make the script pop up an alert that "A file with that name already exists?"

Outcomes