Issue w/html form

kerberos

New Member
Hi ! I'm new developing in webspeed environment, so I need help urgent. First I wrote a basic html form with a multiple select on it and the classy submit button. That sends the user to form#2 where I want the values of the selected items would be displayed but I do not how.
By the time I post, I don't have the parameters in an array to display in form#2. I'm mostly programming in webspeed with embedeed html.

============
FORM#1
Form -> #2
============
FORM#2
Display values of the selected items
Array ? Which Data-type ? How to use properly "get-value" ?

Thank you very much in advance ! :)
I guess this is pretty easy for those experienced progress developers.
 
I don't have WebSpeed up at the moment so I am doing this "blind", but try something like:
Code:
DEF VAR liInt AS INT NO-UNDO.

DO liInt = 1 TO NUM-ENTRIES(GET-VALUE("<YourSelectListName>":U)):
  {&OUT} HTML-ENCODE(ENTRY(liInt,GET-VALUE("<YourSelectListName>":U))) + "<BR>~n":U.
END.
 
Back
Top