Page 1 of 1

Search field with Run hash cookies

Posted: Fri Jan 25, 2019 6:04 pm
by Janusz
Hi,
On the edit form I have name field defined in which there is first and last name, ex.
con_name John Brown

and with (Run /Button)
I have (in Run tab) Filter defined as #con_name#
and it is equivallent to entering into the search field on browse form:
John Brown
is it possible to define the Run/Button/Filter code to be let say equivallent to:
" #con_name# "

I mean something what will finally generate followig:
"John Brown"
As the last one gives more accurate search result.

Re: Search field with Run hash cookies

Posted: Fri Feb 01, 2019 5:49 am
by ARWEN
The developer does not seem to be much present in the forums these days.
Therefore try this "hack": Create a separate column in your Browse that contains the string without white spaces. Use REPLACE to get rid of spaces and CONCAT to join multiple fields.
Also remove the white spaces in the hash cookie with js replace function.

Re: Search field with Run hash cookies

Posted: Sun Feb 03, 2019 10:51 am
by Janusz
Hi,
Thanks for your reply.
After some more trials I foud that it is working with following notation:

\"#con_name#\"

placed directly in the Object/Run/Filter

Re: Search field with Run hash cookies

Posted: Fri Feb 08, 2019 6:00 pm
by kev1n
Thank you for sharing your findings!