Skip to content

Commit 86f2512

Browse files
authored
Update Code.js
1 parent 83820f2 commit 86f2512

File tree

1 file changed

+1
-1
lines changed
  • Client-Side Components/Client Scripts/Abort action when description is empty

1 file changed

+1
-1
lines changed

Client-Side Components/Client Scripts/Abort action when description is empty/Code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function onSubmit() {
22
//Type appropriate comment here, and begin script below
33
var description = g_form.getValue('description');
4-
var status = g_form.getValue('state');
4+
var state = g_form.getValue('state');
55

66
if ((!description) && (state == 'completed')) {
77
g_form.addErrorMessage('Please provide Description Value, Description Cannot be empty');

0 commit comments

Comments
 (0)