In an effort to more fully understand the gestalt of Stack Overflow, I offer this question for perusal:
Since the question has since been deleted, here it is quoted inline:
Title: i want a dialog box in case of error
I am developing an application for iphone/android and i am using webapp-net. I have some fields in my application, what I want to have is this: when input is entered and its incorrect(so the app will realizes that its not a correct input immediately) I want a popup window to show up with a message that indicates the input needs to be changed. I dont want a new window or anything like, a simple dialog box with an error message will do the job. and when the user touches the textfield area to make a new input I want that dialog box to be gone. So far I couldnt find a good example to do this. If you need any more information i would gladly give it to you.
Now, it seems pretty clear to me what the OP wants: they want to know how to perform form validation, and don't have the necessary background to figure out how to approach it.
There are a number of ways to respond to this question; my own comment (which BTW is a re-rendering of someone's misguided and obfuscated LMGTFY link, which I deleted) is just one way; it links to a Google search that will help him research some strategies. A simple code example posted as an answer is another way.
But the usual response to these kinds of questions is "Show us what you've done so far," and "Show us some code," which is how the other commenter responded. This turns the question from a request for guidance into a troubleshooting problem ("What's wrong with my code?").
Here's the thing, though: as a software professional, I find this sort of code troubleshooting completely uninteresting. It is the very definition of too localized: This question is unlikely to ever help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet.
And it's not what the OP is asking.
With that, here are my questions:
- Is this question off-topic, and if so, why?
- Are these kinds of "beginner questions" welcome here, and if not, why not? Are we justified in closing such questions? Which close reason do we use?
- Is this question "Very Low Quality?" (it was moderator-flagged as such) Why?
- Does compelling people to show code turn us into a "coding support site," and if not, why not?