Workflow Soluiton

 View Only
  • 1.  Create an Array from Multi-Line Textbox?

    Posted Jun 13, 2014 04:32 PM

    This might be a little strange but we have a need to use a multi-line textbox, allowing input of 1 item per line in a form and then take that single input, convert it into an array, and display the same content on a verification form in some type of label.

    What we are really trying to do is to display the content that was inputted from a multi-line textbox back into a multi-line "something not editable". When we show via label, or even textbox, each line runs together but we need them to have each item on their own line.

    I imagine this isn't too hard but for some reason I can't thikn of how to do it.



  • 2.  RE: Create an Array from Multi-Line Textbox?
    Best Answer

    Posted Jun 14, 2014 04:58 PM

    I imagine you can run it through a Split Text Into Collection component, using a newline/carriage return delimiter (if that is even possible). I'd have to experiment to try it though.



  • 3.  RE: Create an Array from Multi-Line Textbox?

    Posted Jun 16, 2014 09:36 AM

    That looks like it will split it. It has a Newline delimiter so let me see if that gets me to what I'm looking for. The small hiccup now is to build out the element or label to display that content back on a confirmation screen as it was originally entered (one item per line). 



  • 4.  RE: Create an Array from Multi-Line Textbox?

    Posted Jun 16, 2014 11:39 AM

    And then with a quick ListItems component on the confirmation form I am able to take the elements of the array and display them back so we're in business. As always, thanks for the help!

     

    Note: Also could use a ListBuilder component on the input form which already puts the items into an array..don't know why I didn't think of that one!