Loading...

Rasmus Wollesen

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Validation when editing a profile not working #10002895
    Rasmus Wollesen
    Participant

    Found that classes/edit_form.php was missing

    `if(isset($this->field[‘length’]) && intval($this->field[‘length’]) > 0 )
    {
    $val[] = “maxSize[“.intval($this->field[‘length’]).”]”;
    }`

    on line 660

    in reply to: Validation when editing a profile not working #10002894
    Rasmus Wollesen
    Participant

    Okay, it would seem the validation class that the JS works with is typed in wrong?
    In the sign up form where it works, the validation class is piereg_validation
    and in the edit form it is just validation.
    Changing this makes the validation work again.

    Next problem is that all the rules does not propagate, as the limit on chars validation is not in the edit form.

Viewing 2 posts - 1 through 2 (of 2 total)