Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
simple-survey
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
simple-survey
Commits
be5aa1d5
Commit
be5aa1d5
authored
Jun 08, 2018
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed rule-engine support for simple_survey
parent
17b03e26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
one.adp
www/one.adp
+1
-1
one.tcl
www/one.tcl
+7
-0
process-response.tcl
www/process-response.tcl
+1
-0
No files found.
www/one.adp
View file @
be5aa1d5
...
...
@@ -16,7 +16,7 @@
</p>
</if>
<form enctype=multipart/form-data method="
post
" action="@package_url;noquote@/process-response">
<form enctype=multipart/form-data method="
POST
" action="@package_url;noquote@/process-response">
<%= [export_vars -form {survey_id response_id related_object_id related_context_id task_id return_url}] %>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
...
...
www/one.tcl
View file @
be5aa1d5
...
...
@@ -142,6 +142,13 @@ if {$single_response_p == "t" && $single_editable_p == "f"} {
if
{
""
!=
$response
_id
}
{
set edit_previous_response_p
"t"
# Get the response data in order to show correctly the related_object_id in the .adp
db_1row response_info
"
select *
from survsimp_responses
where response_id = :response_id
"
}
...
...
www/process-response.tcl
View file @
be5aa1d5
...
...
@@ -127,6 +127,7 @@ ad_page_contract {
survey_name:onerow
}
ad_require_permission
$survey
_id survsimp_take_survey
set
user_id
[
ad_verify_and_get_user_id
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment