We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b802651 commit ebce079Copy full SHA for ebce079
Client-Side Components/Client Scripts/Abort action when description is empty/Code.js
@@ -0,0 +1,12 @@
1
+function onSubmit() {
2
+ //Type appropriate comment here, and begin script below
3
+ var description = g_form.getValue('description');
4
+ var status = g_form.getValue('status');
5
+
6
+ if ((!description) || (status == 'completed')) {
7
+ g_form.addErrorMessage('Please provide Description Value, Description Cannot be empty');
8
9
+ return false;
10
+ }
11
12
+}
0 commit comments