Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

html form to convert list to string

Posted on 2016-07-29
6
Medium Priority
?
34 Views
Last Modified: 2016-08-22
Is there a way to create an html form that can convert a list to a string? Example: I'm trying to create form where someone would input
one
two
three

and the form would convert it to:

one,two,three

Is this possible with just html or is script language needed?
0
Comment
Question by:LN41
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1000 total points (awarded by participants)
ID: 41735476
HTML can't do anything like that.  You would need a script to do that.
0
 
LVL 4

Assisted Solution

by:Branislav Borojevic
Branislav Borojevic earned 1000 total points (awarded by participants)
ID: 41735927
Are you talking about the output that would be generated when the form is submitted, as a form of a e-mail notification?

In any case, you need a script to do that, the HTML part is simply the front-end side that shows the fields.

You can get the desired result with PHP, maybe explain how / where you are reading the output / results?
0
 
LVL 1

Assisted Solution

by:LN41
LN41 earned 0 total points (awarded by participants)
ID: 41736199
Ideally, user sees the form and pastes in a list then the list is converted to string and the user and copy it right from the website
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 41736237
??  HTML can't do that.  It can't process or rearrange strings or numbers.  That requires a script.
0
 
LVL 34

Expert Comment

by:Slick812
ID: 41737793
greetings LN41 , ,  You say that this arrangement  -
one
two
three

Open in new window

is a "LIST" , and this arrangement -
one,two,three

Open in new window

is a "STRING" or what you want to be the result of a conversion, , and as sated already, ANY and ALL conversions will require an Operation Language as browser Javascript so code signals can be written to tell the script what to get - "the text in the LIST box" - and more importantly, what and how to make operations to change , replace, rearrange the LIST text to a new text "String", , for instance what would need to be done is there is a comma in the LIST elements, like -
one,1
two,2
three,3
0
 
LVL 34

Expert Comment

by:Slick812
ID: 41763494
Covered good posibilities in suggestions
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses how to create an extensible mechanism for linked drop downs.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question