Prefill and duplicate entries

JC's Avatar

JC

17 May, 2011 04:01 AM

Hi all,

I am pre-filling the text box with comma separated values, and that works just find. However, if I type into the box the same value, it allows me to add it again. If I try to add it a third time, it will not do so.

So for instance, I prefill the text box with "red, green, blue". If I type "blue" into the box, I can add it again. If I type "blue" again, it says "No Results Found".

My question is: how can I prefill the text box and not allow it to duplicate anything that has been prefilled?

Thanks ahead of time!

  1. 1 Posted by JC on 17 May, 2011 11:11 PM

    JC's Avatar

    Ack. Never mind. I figured it out. Apparently, pre-filling the box with this string:

    "red, green, blue"

    is different than:

    "red,green,blue"

    Note that there shouldn't be any spaces after the comma.

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