Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Save Button Question

Avatar

Level 3

Hi guys

I have a form with text fields for a person's first and last name.

I would like to add a 'save as' button to the form, in which the document defaults to saving under the formula:

"Last_Name, First_Name"


I have attached the form.

Thank you

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

The only way to have the file saved as a different name is to have the user enter it in a file dialog.

You are not allowed to overwrite the name of a saved file with your own without th eusers knowledge...it is deemed a security risk.

Paul

View solution in original post

3 Replies

Avatar

Level 10

See attached form.

Is this what you want?

Nith

Avatar

Level 3

Thank you for that.

However, I still need the button to launch the pop-up "Save As", such that clicking the button will allow the user to save the file.

The idea is to have this pop-up then default to saving under the name as given before, "Last_Name, First_Name"

Thank you

Avatar

Correct answer by
Former Community Member

The only way to have the file saved as a different name is to have the user enter it in a file dialog.

You are not allowed to overwrite the name of a saved file with your own without th eusers knowledge...it is deemed a security risk.

Paul

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----