Regarding the variable assigning in selector

No sir. Selecting only particular block its validating and for the rest its not validating.