You are viewing limited content. For full access, please sign in.

Question

Question

Weblink 10 custom search form: how to select all via dropdown

asked on October 17, 2018

We are defining a custom search form for a template that includes three optional fields: quick search (text), date range, and an optional dropdown list of committees. We want users to have the option to *not* select a committee (ie select all or ignore this field if it's empty). We've tried manually adding an empty list item via "define list" in the designer, as well as by adding an empty list item in the customSearchForm.xml, but when selected the query returns no records.

How can we use a dropdown list as an optional element, where we have either an empty list item or an "all selected" list item? We've tried:

<option>[any committee]</option>

<option selected>[any committee]</option>

<option value="">[any committee]</option>

<option value="NOT NULL">[any committee]</option>

<option value="*">[any committee]</option>

 

0 0

Replies

replied on October 17, 2018 Show version history

I'm also wondering if a multi-select field is still an option - I don't see it in the Weblink Designer as an option, although it's still listed as a field option in the documentation: 

  • List (multi-select): Select this option to let users pick one or more options from a predefined list. Click Define List to specify the desired list of available options.

https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-US/administration/Default.htm#../Subsystems/WLAdmin/Content/Defining_Input_Field_Properties.htm%3FTocPath%3DWebLink%2520Administration%7CCustomizing%2520WebLink%7CLaserfiche%2520WebLink%2520Designer%7CWelcome%2520Page%7CSearch%2520Forms%7CSearch%2520Form%2520Designer%7C_____1

Previously we had the ability to define a dropdown as a multi-select, but this appears to have been removed?

https://answers.laserfiche.com/questions/112074/Weblink-template-choice#112085

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.