Jump to content
  • 0

Listbox multi-select complications


richarde

Question

Hi, I followed the directions on the caspio javascript solutions page to enable multi-select on a listbox on a web form. When I go to the new page, I am indeed able to select more than one item.

This page is a form that passes parameters to a search page (with pre-determined criteria).

The problem is that the multi-selected fields return no matches on the results page. (Essentially, an individual is selected multiple counties to get the data for those two counties).

I have the search form set to accept the parameters, with the match as \"contains.\"

Any suggestions?

Thanks!

richard

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Richard,

That does not work because when you have multi-select listbox in a web form it does concatenate selected listbox options separated with \",\" so actually it passes i.e. county1,county2

however in the search and report where you ste it to receive parameter it receives it as county1,county2 but in the table you have each county stored in a separate record and that is why it can not find it.

This could only be done if you have stored the data in the table like county1,county2,...

or if you have regular search and report with search form rather than a web form as a search form.

Best,

Bahar. M

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...