Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Validation: Is this a bug? Can anyone confirm?
  • I'm currently playing with the Validation class and came across a strange behavior in the naming of a field.
    $val = Validation::factory('user_signup');
    $val->add_field('displayname', 'Display Name', 'required');
    echo '<pre>';

    For some reason when ever I use "displayname" as the fields name bool(false) is always the output from var_dump. Changing the field name to display_name or name works fine but for whatever reason I can't use "displayname" as the fields name. Can anyone confirm this behavior?

Howdy, Stranger!

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