I have an input field and I want to continue if the text is agreed(when I clicked a button) and if the text is not that i want there is an alert. I made it in running javascript event on button click:
if ("mobiletextinput1_2".value = 'kuka)
{
return true;
}
else
{
alert('NO!');
}