Link to home
Start Free TrialLog in
Avatar of LN41
LN41

asked on

html form to convert list to string

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?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
??  HTML can't do that.  It can't process or rearrange strings or numbers.  That requires a script.
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
Covered good posibilities in suggestions