Jump to content

validation without a postback?


liorm

Recommended Posts

Hi

 

I wonder how one can do validation without postback, in PHP. In .NET, ill-validated fields are showing an error on the client browser, using javascript, without any post back (except if it's a custom validator) .

 

Specifically, I'm using Zend. is there a way to do it here? (I mean, using some unified approach, and not by just having included javascript functions customized to every page).

 

any other framework that does it? code samples?

 

thanks so much for _any_ idea

Lior

http://www.lgorithms.com

Link to comment
Share on other sites

thanks. actually, i'm looking for something simple based on javascript (that's how its done in .net). no need to use Ajax to talk to the server - there are many types of validation that can be done just on the client. for example, a required field

 

any ideas there?

 

thanks again

Lior

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.