I am very new to skuid.
I have following requirement. If possible anyone could help me to do this. I need snippet code and how to render that actually.
1.Run Snippet: The snippet should do the following:
a)Compare the old file extension in the file name (i.e. the characters that come after the last period (.) in the file name, if the filename has any periods in it) with the file extension of the new file name.
b)If they are not equal, return false; which will trigger the OnError action step, else return true;
2.Add an OnError action to the Run Snippet step:
a)Show Popup. The popup should have the following text “If you change a file name extension, the file might become unstable. Are you sure you want to change it?” followed by two buttons “Yes, Change It” and “No, Revert Back”.
1)If the user clicks “Yes, Change It”, then simply close this top pop-up
2)If the user clicks “No, Revert Back”, then revert the file name field back to its prior value and close this top pop-up (this will probably require another small JavaScript snippet)
Question
how to avoid to users to updating the file extension?

This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.