summaryrefslogtreecommitdiff
path: root/swat/esptest/formtest.esp
diff options
context:
space:
mode:
Diffstat (limited to 'swat/esptest/formtest.esp')
-rw-r--r--swat/esptest/formtest.esp2
1 files changed, 1 insertions, 1 deletions
diff --git a/swat/esptest/formtest.esp b/swat/esptest/formtest.esp
index 2d3693355c..6dd1f911ea 100644
--- a/swat/esptest/formtest.esp
+++ b/swat/esptest/formtest.esp
@@ -15,7 +15,7 @@ display_form(f);
/* if its a post then the user has filled in the form, so
report the values
*/
- if (form['OK']) {
+ if (form['submit'] == "OK") {
%>
You chose firstName=@@form['firstName'] lastName=@@form['lastName']<p>