22, November 2008

showing error messages - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Validate_fields Class (Moderator: Olaf)
Topic: showing error messages
« previous next »
Pages: [1] Print

Author Topic: showing error messages  (Read 1031 times)
Google dot what?
*
Posts: 2
12 credits
Members referred : 0


« on: May 01, 2006, 10:27:11 PM »

Olaf, I've downloaded your Validate_fields class version 1.34 and modified the form fields to fit my form.  I can't get the error messages to show up.  Ultimately, I want it to redirect to another page if it validates and provide the error messages if it doesn't ... but I'm at the early testing stage and can't even get it to show the messages.  At first I thought it just wasn't finding the included class file, so I cut and pasted it directly into the form page ... still not working.

I'm a relative newbie to PHP and expect it's something very simple ... but I'm not seeing the problem. 

The test page is http://www.kckps.org/reading/ Visit through proxy

I've also posted a text version of  the page code so you can see what I've done. 
http://www.kckps.org/reading/index.inc Visit through proxy

Other than putting it in our district template and changing the form input data, I've left it as close to yours as I could for early testing. I've changed nothing in the class code except to turn error reporting back on.  The downloaded exact code from you works fine so it doesn't seem to be a server problem.

Could you take a look?  Thanks!
« Last Edit: May 01, 2006, 10:30:07 PM by olaf »
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: May 01, 2006, 10:32:55 PM »

this must be submit with a capital:

Code:
if (isset($_POST['submit'])) {

you're right it was simple:)


Last blog : Just a better Internet portal provided by Google
Google dot what?
*
Posts: 2
12 credits
Members referred : 0


« Reply #2 on: May 01, 2006, 10:42:39 PM »

Well, DUHHH!

I love it when it's that easy ... I've spent hours trying to figure it out.  THANKS!  BTW, I think your code is very user friendly, concise, easy to modify and just what I needed.  Thanks for sharing it with us!

Teresa Boose
Web Manager
Kansas City, Kansas Public Schools
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: May 01, 2006, 11:40:03 PM »

Well, DUHHH!

I love it when it's that easy ... I've spent hours trying to figure it out.  THANKS!  BTW, I think your code is very user friendly, concise, easy to modify and just what I needed.  Thanks for sharing it with us!

Teresa Boose
Web Manager
Kansas City, Kansas Public Schools

Sounds good...

that was the first reason to write this class that there are lot of hard to use valiadtion scripts on the net.


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2391
Tags : php design Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Validate_fields Class (Moderator: Olaf)
Topic: showing error messages
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 10:46:46 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.741
Total Topics: 7.651
Total Members: 4.398
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: egseopro

29 Guests, 5 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.