24
Views
7
Comments
Solved
Clearing invalid state
Question

A user will leave the recipient box empty and try and submit. Which leads to the box being invalid. But upon the user clicking a user from the dropdown list the error state needs to dissapate and it should become valid. Without the user having to resubmit. Where do I go to do this? Any references on where to look?

ErrorState.PNG
2021-04-09 11-42-43
assif_tiger
 
MVP
Solution

Hi,

Just add this on your dropdown in Extended properties :

So after the Validation Error Message the moment you change the selection in it, the validation message will be removed.

UserImage.jpg
Jaret Sanchez

assif_tiger wrote:

Hi,

Just add this on your dropdown in Extended properties :

So after the Validation Error Message the moment you change the selection in it, the validation message will be removed.


thank you!

UserImage.jpg
Jaret Sanchez

Another image

ErrorstateCleared.PNG
2021-04-09 11-42-43
assif_tiger
 
MVP
Solution

Hi,

Just add this on your dropdown in Extended properties :

So after the Validation Error Message the moment you change the selection in it, the validation message will be removed.

UserImage.jpg
Jaret Sanchez

assif_tiger wrote:

Hi,

Just add this on your dropdown in Extended properties :

So after the Validation Error Message the moment you change the selection in it, the validation message will be removed.


thank you!

2021-04-09 11-42-43
assif_tiger
 
MVP

Yeah !!!

Happy to know.

Cheers

UserImage.jpg
Jaret Sanchez

assif_tiger wrote:

Yeah !!!

Happy to know.

Cheers

Hi again, I'm not sure where the difference lies between your and my systems but it still doesn't seem to be clearing. I figured it would be in that area too.


ErrorState.PNG
UserImage.jpg
Jaret Sanchez


Another image




ErrorstateCleared.PNG
2021-04-09 11-42-43
assif_tiger
 
MVP

You can also refresh the container/widget by Ajax in onChange events action.

That will set the widget.Valid property back to True.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.