Skip to main content
Participating Frequently
November 28, 2006
Question

Blank Form Response

  • November 28, 2006
  • 3 replies
  • 388 views
Occasionally, on one of my sites, I get completely blank form responses.

On the page, I have some required fields, so there's no way that blank fields are getting through
In addition, I run occasional tests which all come out OK, so I'm not sure why blank forms are getting sent.

Can anyone offer a reason ?
This topic has been closed for replies.

3 replies

Participating Frequently
November 29, 2006
Both posts above offer good advice.

As a rule I always use server side validation.
Inspiring
November 28, 2006
How are you requiring fields? As Dan noted, if you're using javascript that can be disabled. If you're using hidden form fields with names like "myfield_required", it's possible that someone is submitting data to your program without using your form. The only way to be certain that required form data is being submitted is to test for it within your program. If someone submits a blank form, don't process it.
Inspiring
November 28, 2006
cfform uses javascript and the user has the option of disabling it.