From 1bf7a917b2d2ba2806e018ca385e44557c7dbf56 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 May 2005 08:23:37 +0000 Subject: r7094: use the Form() object in a few more places (This used to be commit 9b8546f92179dba826e7ca5ed009b24486ef7a2c) --- swat/esptest/formtest.esp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swat/esptest/formtest.esp') 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']

-- cgit