You must Sign In to post a response.
Category: Windows 8
#769823
You can achieve this by using the javascript. Create a function in javascript that will return the bool value and call that function on button click event.
<script>
function ValidateInput()
{
if(add all the conditions)
{
//if condition fail
return false;
}
return true;
}
</script>
<input type="button" value="Search" onclick="return ValidateInput();" />
<script>
function ValidateInput()
{
if(add all the conditions)
{
//if condition fail
return false;
}
return true;
}
</script>
<input type="button" value="Search" onclick="return ValidateInput();" />
Return to Return to Discussion Forum