Differentiate between blank entry and no result

Chris's Avatar

Chris

25 Aug, 2011 04:33 PM

Hi

Is there a way of differentiating between a null return (user didn't bother to enter anything) and a "result not listed" (user tried to enter something but it's not in the list).

If I'm just checking the as_result both situations above would return the same value - for example, how would I use a checkform function to validate the form and progress if something has been entered or loop back if nothing has been entered?

I guess this ties in with my other question below re return the value of the entered item as well as the value.

Again thanks in advance

Chris

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac