diff --git a/lib/WebGUI/Asset/Wobject/Survey.pm b/lib/WebGUI/Asset/Wobject/Survey.pm index 6ce6cc1f7..f5fb24504 100644 --- a/lib/WebGUI/Asset/Wobject/Survey.pm +++ b/lib/WebGUI/Asset/Wobject/Survey.pm @@ -1510,6 +1510,7 @@ sub getResponseDetails { $tags->{endDateEpoch} = $endDateEpoch; $tags->{userId} = $ruserId; $tags->{username} = $rusername; + $tags->{responseId} = $responseId; } return { templateVars => $tags, @@ -1525,6 +1526,7 @@ sub getResponseDetails { restart => $tags->{restart}, timeout => $tags->{timeout}, timeoutRestart => $tags->{timeoutRestart}, + responseId => $tags->{responseId}, }; } diff --git a/lib/WebGUI/Help/Asset_Survey.pm b/lib/WebGUI/Help/Asset_Survey.pm index 8fec9787b..478a30d2e 100644 --- a/lib/WebGUI/Help/Asset_Survey.pm +++ b/lib/WebGUI/Help/Asset_Survey.pm @@ -415,10 +415,11 @@ our $HELP = { fields => [], variables => [ { name => 'complete', description => 'response complete help' }, - { name => 'restart', description => 'response complete help' }, + { name => 'restart', description => 'response restart help' }, { name => 'timeout', description => 'response timeout help' }, { name => 'timeoutRestart', description => 'response timeout restart help' }, { name => 'endDate', description => 'response endDate help' }, + { name => 'responseId', description => 'responseId help' }, ], related => [ { tag => 'survey template', diff --git a/lib/WebGUI/i18n/English/Asset_Survey.pm b/lib/WebGUI/i18n/English/Asset_Survey.pm index 151ea6e0a..aa3d5bfb7 100644 --- a/lib/WebGUI/i18n/English/Asset_Survey.pm +++ b/lib/WebGUI/i18n/English/Asset_Survey.pm @@ -981,6 +981,11 @@ directly inside the answer_loop for other types of questions.|, message => q|A boolean flag indicating whether the Survey Response completed|, lastUpdated => 1242180657, }, + + 'responseId help' => { + message => q|The unique GUID for the response|, + lastUpdated => 1242180657, + }, 'response restart' => { message => q|Survey Response restarted|,