Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - berber

Pages: [1]
1
Help for ParamQuery Select / Search for "other" values.
« on: April 03, 2022, 09:47:19 pm »
Hi

I'm using ParamQuery Select for a few years now and am very happy with it.
I have the option to search at the top for any record which contains some text in the options.

Now, i need to search for records by a value not in the options.
Is there a way to do this?


For example, If this is my select, i can search for One, Two or Three.
I want to also be able to search for "XXXXXX" and get the One record.
Code: [Select]
<SELECT>
<OPTION VALUE="1" META="XXXXXX">One</OPTION>
<OPTION VALUE="2" META="YYYYYYY">Two</OPTION>
<OPTION VALUE="3" META="YYYYYYY">Three</OPTION>
</SELECT

2
Hi

All works well untill an option text contains a "," (comma).
for some reason, an item with a comma in the text can't be pre-selected.
Any other item works well.

I'm wondering if the "selected" method is done with the name or with the value of the option
and why do names with a comma don't get selected.

thanks

Pages: [1]