From: SourceForge.net <no...@so...> - 2003-11-11 15:10:44
|
Bugs item #840004, was opened at 2003-11-11 07:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=840004&group_id=8956 Category: User Group: v1.6.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Entering '0' in text box Initial Comment: If you enter a '0' in a text box, the program ignores it and prompts you to "Enter a value..." (only if field is required) . Workaround: Changing the field to Numeric allows 0 as an entry. Demo site replicated at: <?php $sid=12170; include("/home/groups/p/ph/phpesp/htdocs/demo//public/ handler.php");?> Once activated you can also access the survey directly from the following URL. http://phpesp.sourceforge.net/demo/public/survey.php? name=0Bug email addy (backwards) is ude.csum [AT] adin Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=840004&group_id=8956 |
From: SourceForge.net <no...@so...> - 2004-05-12 06:31:56
|
Bugs item #840004, was opened at 2003-11-12 02:10 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=840004&group_id=8956 Category: User Group: v1.6.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Entering '0' in text box Initial Comment: If you enter a '0' in a text box, the program ignores it and prompts you to "Enter a value..." (only if field is required) . Workaround: Changing the field to Numeric allows 0 as an entry. Demo site replicated at: <?php $sid=12170; include("/home/groups/p/ph/phpesp/htdocs/demo//public/ handler.php");?> Once activated you can also access the survey directly from the following URL. http://phpesp.sourceforge.net/demo/public/survey.php? name=0Bug email addy (backwards) is ude.csum [AT] adin Thanks! ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2004-05-12 16:31 Message: Logged In: YES user_id=198398 I think the easiest solution to this prob is to extend the if statement in espresponse.inc around line 47 from: if(empty($HTTP_POST_VARS[$qid])) to if (empty($HTTP_POST_VARS[$qid]) && $HTTP_POST_VARS [$qid] != '0') Any other thoughts? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=840004&group_id=8956 |
From: SourceForge.net <no...@so...> - 2004-05-12 16:06:07
|
Bugs item #840004, was opened at 2003-11-11 10:10 Message generated for change (Comment added) made by greggmc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=840004&group_id=8956 Category: User Group: v1.6.1 >Status: Closed Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Entering '0' in text box Initial Comment: If you enter a '0' in a text box, the program ignores it and prompts you to "Enter a value..." (only if field is required) . Workaround: Changing the field to Numeric allows 0 as an entry. Demo site replicated at: <?php $sid=12170; include("/home/groups/p/ph/phpesp/htdocs/demo//public/ handler.php");?> Once activated you can also access the survey directly from the following URL. http://phpesp.sourceforge.net/demo/public/survey.php? name=0Bug email addy (backwards) is ude.csum [AT] adin Thanks! ---------------------------------------------------------------------- >Comment By: Matthew Gregg (greggmc) Date: 2004-05-12 11:06 Message: Logged In: YES user_id=14116 Yup sound good to me. I went ahead and commited your change into cvs. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2004-05-12 01:31 Message: Logged In: YES user_id=198398 I think the easiest solution to this prob is to extend the if statement in espresponse.inc around line 47 from: if(empty($HTTP_POST_VARS[$qid])) to if (empty($HTTP_POST_VARS[$qid]) && $HTTP_POST_VARS [$qid] != '0') Any other thoughts? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=840004&group_id=8956 |