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 answers
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
- Is it possible to turn off "Show Words" suggestion from plugin extension Code? Or if it is possible to turn it off for specific files?
- How to auto suggest SIM card or Mobile numbers in a device?
- How to turn off Non-Type proposals only for new variables in Eclipse?
- Inherit function signature from another function
- How to disable replace with "?->" suggestions?
- Sublime text, auto suggestions not showing from a vcpkg instal folder
- 'Install package' quick action not appearing in Visual Studio
- Turn off autocomplete for chips component in primeNG
- How can I apply divide and conquer, dynamic programming or greedy algorithm to my code without ruining its model training
- Set AutoCompleteInput to suggest list of words
- Custom suggestions/completion in PHP function from JSON file in PhpStorm
- How to submit a form with autosuggest with Javascript and Python flask
- solve third order ode and find a error: Cannot feed value of shape (40,) for Tensor Placeholder_19:0, which has shape (None, 2)
- Vue3 IntelliJ autosuggestion of property names in camelCase
- ElasticSearch Suggest current or next word
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?
Popular Tags
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)