I have an input textbox for, say, firstname/lastname using datalist, the list being built from a data base. If the final input from the user is in the list, I can trigger a request in the database with the input, but if the final input is not, the form for must ask for other data (email, ...) by showing new input boxes. The problem is to detect (I use javascript) when there are no more suggestions by datalist (meaning the user is willing to give a name that is NOT in the list), and then the form will open the new input boxes. I can't do this by just analysing if the characters typed by the user are or are not in the list (the analysis is triggered by input event), but rather by searching the suggestion list.
How to process the suggestions done by datalist on user input?
35 Views Asked by Laurent Mortier At
0
There are 0 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in DATALIST
- Getting data attributes from HTML input element with a datalist
- DataList in ASP.NET Cancel Edit - How to get back to the item that was edited
- Can't get dropdown to appear after creating entity
- ASP.NET Datalist Paging Index Error 'Index -6 is negative or over number of rows.'
- jQuery is not Working Properly for the first Time on page Load
- Error in Obj.length>0 in Datalist Validation
- how to transfer data list from one html page to another if in first page i have created a temporary list
- React dynamic Datalist - Options are not populated via api response
- How to process the suggestions done by datalist on user input?
- Issue with datalist, needs to be displayed underneath input field instead of to the right side of it
- <datalist> event when something is picked
- HTML Datalist won't restrict to 5 or x items to be visible with a scroll
- How to get the choice(value) out of datalist in javascript?
- PHP - big datalist option
- Get Predifined Text Option of Datalist or User Entered Text (not value)
Related Questions in AUTOSUGGEST
- gridview auto suggestin through database when i write text in textbox without taking button
- Solr suggest exact match
- how to apply autojs master or jquery.asuggest in summernote editor or ckeditor
- Solr FuzzyLookupFactory exactMatch is case sensitive
- Solr Search in Hue - is it possible to disable the auto-fill of field names?
- Solr - Suggest Component with 2 different field types
- Simple Suggestion / Recommendation Algorithm for readable shortner
- Solr Suggester - Rank by boost factor
- Solr filter query for suggester
- Solr tokenizer filter substring
- In Aurelia how to get co-ordinate of cursor inside textarea based on keypress event?
- Solr Suggest AnalyzingInfixLookupFactory
- xcode 8.3.3 or 9 does not show auto completion whenever adding any Entity to core data model file
- How to implement faceted search suggestion with number of relevant items in Solr?
- Why does the width of the auto-suggest dropdown box not match the width of the combobox?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?