Manual confirmation for Text inserted

can3m0's Avatar

can3m0

20 Dec, 2012 04:55 PM

Hi all,

i'm using your plugin and i have this request:

i have 10 fields all with autosuggest plugin active.

I need to do this:
- if the text to insert is in the suggestion result it work like always. You click one of the result and it became the value of the input textbox.

  • if the result isn't in the suggested result the user can digit it into the field. After this he has a button "confirm" that if clicked show a confirmation dialog to the user and after confirmation insert the text with the same css style of the "clicked result from the autosuggestion".

I want to know if si possibile call "add_selected_item" manually and if yes, how? :D

Excuse me for the english.

I hope understand what i need.

Thanks

BR

Paolo

  1. 1 Posted by can3m0 on 20 Dec, 2012 05:13 PM

    can3m0's Avatar

    I think that i need to know how to call "add_selected_item" out of the plugin for do what i need.

    Any ideas? :D

    At the moment if i call the function i receive:

    Data e ora: 20/12/2012 18:06:37
    Errore: ReferenceError: add_selected_item is not defined
    File sorgente: http://xxxxxxxxxxxxxx
    Riga: 73

    Thanks

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