How to get a message which depends on a response?
Hello,
I have an app in which I connect to a database to perform a search.
When I make a correct search (the search item is indeed in this table) I get a good response which is shown in the app.
But when I doesn't fill in anything or fill in an incorrect search item I get always the same response:
bondsnummer = v
How and where do I put some javascript magic to get a label with the text "Wrong number" depending on this response?
Something like this I suppose:
if (bondsnummer == 'v') {
Appery("error_label").text("Wrong number");
}
But I suppose the first line isn't correct? How to use the response 'bondsnummer' and where do I put this javascript?
Kind regards
Arie