Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

Form with Multiple in select

edited May 2004 in Server
I'm having a form with a select box that allows multiple choices,
they will be used in a InList.

But when using the trsWebRequest i'm only getting the first selected
values.

When looking in the tWebRequest.Content the values are there, should
i use another method/property to access this or should i code it
myself ?

Comments

  • edited May 2004

    I setup an example here and the TrsWebRequest.ContentParameters property
    provides access to all of the content parameters. In my example I have a
    single autosearch field. The ContentParameters['asg0f0se'].Value contains a
    comma delimited list of the search values for the InList.

    You can also use ContentParameters.ItemsByIndex[].Value to iterate thru the
    content parameters.

    AutoSearch parameters have the following naming convention: asgXfYse and
    asgXfYsa.

    The asgX specifies the autosearch group number, where X is the number. The
    fY specifies the field number, where Y is the number. The se indicates that
    the value is a search expression and the sa specifies that the value is the
    "show all" boolean expression.



    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.