Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Form validation not working with IE (Internet Explore) browser... Client side validation not working
  • Hi
    I'm using FuelPHP 1.0 version... I create form field validation server side...

     eg - $fs->add('test', 'test', array('type'=>'text'), array('required'));

    FuelPHP automatically create the client side validation according to server side validation... but
    run on form Firefox and Chrome  that client side validation work fine but IE client side validation not working.... is there any problem with IE and FuelPHP

    Thanks
  • HarroHarro
    Accepted Answer
    1.0 is very old, so you should do something about that (we're on 1.5.2. now).

    client side validation is an HTML5 feature, that may not be supported by the IE version you are using. I think only IE10 supports that.
  • I use 1.5.2 but it also same result.... IE9 not working client side validation.... but with Chrome and Firefox it work fine... I think that FuelPHP not support to IE browser... I have to use my own validation code....

    Thanks...
  • HarroHarro
    Accepted Answer
    As I said: This is NOT related to FuelPHP.

    The Form class generates HTML5 compliant code, but your browser must support it. As you can read here (http://people.mozilla.com/~prouget/ie9/), IE9 DOES NOT support HTML5 form validation.

    You'll have to complain to Microsoft, or upgrade to IE10.
  • yes you right ....it's not about FuelPHP but FuelPHP haven't any JavaScript validation they use css validation HTML5 .... thanks about your help.. but no need to complain to anyone just i wont correct my problem... 

    Thanks...
  • HarroHarro
    Accepted Answer
    Client side validation (i.e. javascript) is application specific, and not the task of the framework. So it will never be part of FuelPHP.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion