Community > Answers
42 views

Class 'error' and 'valid' in input fields

Is it possible to have the class 'valid' added as soon as the field is filled in properly? Currently this is ónly happening after having tried to submit the form, then a class 'error' is added and then, when filled in properly, the class 'valid' is finally added.

I would like the user to know sooner that the fields are filled in properly...

Keston Pollard Keston Pollard
asked 05/05/2021 15:24
Add Comment
Last Activity 05/06/2021 08:07

1 Answer(s)

  • answered 05/06/2021 04:11
    Ashish Pachori
    Add Comment
    Keston Pollard
    replied 05/06/2021 08:07

    Thanks, I realize that. However I think it's a missed oppertunity not to have this in the module because, like I said, the class is already written after a failed submission... so the code is there already!


    Reply
Add an Answer