On Thu, Mar 27, 2008 at 10:34 AM, kanugula <[EMAIL PROTECTED]> wrote:
>
> I have a form with some fields. Some are required and some are not.
>
> I created a map of the Filed Validation Status with {"fieldName",
> "true/false"}. True means data is entered on the field. False means nothing
> ent
I have a form with some fields. Some are required and some are not.
I created a map of the Filed Validation Status with {"fieldName",
"true/false"}. True means data is entered on the field. False means nothing
entered. At present, I am not interested in content validation whether it is
number/str
> If I have a Map like the following
> var validationStatusMap = {"field1":false, "field2":false,
> "field3":false, "field4":true};
>
> Is there a way to search true using an index like alogrithem without
> iterating entire Map?
Not that I know of.
> Sometimes I build a big map. I am afraid th