I added alerts and the script is working fine the value of the country is also coming correct and all scenarios are working,but only the first time.Like example i select the country 'Russian federation' and click on submit so in this case the error mesaage should come and submit buttom should grey out which is working great.But then without reloading the form if i change the value of the country to say may be'India' for which the request should get submitted, in that case the submit button is still grey out the request is not getting submitted and the onSubmit script is also not getting called .But again if i reload the form anfd then select 'India' and try to submit it works fine then.