Hack Forums
[.NET] Multiple type-in from textbox to database - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Multiple type-in from textbox to database (/showthread.php?tid=5750240)



Multiple type-in from textbox to database - zetza - Nov 9, 2017

Hey

Languages used will be:
JavaScript/Jquery
ReactJS
ASP.NET MVC
+ some

I'm looking for what this method is called, here's an image:
[Image: iBCExHOuRw__YNJSoGA4UA.png]

So basically the thing that's typed in, should add below when a user hits enter on pc and return on tablet/smartphone, and when the entire thing is saved, it should be assigned to a users' notes and be displayed.
This is how it's going to look in my web app:
[Image: heNEO45wQ-a6fnhSY0NmFA.png]

And the values should be shown here to their corresponding task:
[Image: dwU6cFiHQXySb-KEM6Babw.png]

A name for the method, or a link for a tutorial or something would be a great help, thanks.


RE: Multiple type-in from textbox to database - 0xDEAD10CC - Nov 9, 2017

Method? I am confused by what you're asking because this isn't a "method", this is UI design by some custom code or framework.


RE: Multiple type-in from textbox to database - zetza - Nov 9, 2017

(Nov 9, 2017 12:03 PM)0xDEAD10CC Wrote:  Method? I am confused by what you're asking because this isn't a "method", this is UI design by some custom code or framework.

I understand your confusion. I found a couple of examples of it:
https://www.npmjs.com/package/react-select
http://itsolutionstuff.com/post/bootstrap-input-multiple-tags-example-using-tag-manager-jquery-pluginexample.html
^-- This one being the closest to my question


RE: Multiple type-in from textbox to database - 0xDEAD10CC - Nov 9, 2017

Thanks for the clarification. They are called "tags" but essentially they are just a list/row of dynamic HTML elements with some text and a style associated with them. There's probably lots of packages (or whatever web developers call them) out there that will do this though.

I don't know what package is used in the screenshot though sorry.


RE: Multiple type-in from textbox to database - zetza - Nov 9, 2017

(Nov 9, 2017 12:42 PM)0xDEAD10CC Wrote:  They are called "tags" but essentially they are just a list/row of dynamic HTML elements with some text and a style associated with them.

Couldn't find anything before with the tag-search.

Do you know if there's a way to get these values into the sql database, since these are going to be shown on this part of the page?
[Image: dwU6cFiHQXySb-KEM6Babw.png]


RE: Multiple type-in from textbox to database - 0xDEAD10CC - Nov 9, 2017

If it's not your website you'll need some kind of parser. Then just look for the tags that match what you need to extract.