Two layouts work, but one layout with the search fields inside a popover also work.
And you can use Install On Timer script to set a timer that performs a script when the specified time interval counts down. That script can revert your window the search layout or omit the found record(s) from the found set to hide the previous user's data.
For examples of scripted finds, see: Scripted Find Examples
Thanks PhilModJunk for your reply.
The timer seems pretty straightforward, but I'm currently having trouble getting the find script to work properly. I went through the examples in the article you sent over, but just not getting it for some reason.
I'd like to create a two layout kiosk; (Search Layout and Result Layout), I want the Search Layout to contain the fields where the user types in the search parameters and the second layout to display the results. The search parameters are First Name, Last Name and Birthdate and all 3 fields need to match a record in the database in order for the result to display.From there, I can put the timer to redirect back to the first layout.
I created 3 global fields for First Name, Last Name and Birthdate and dragged them onto the first layout and added a "Find" button where I added the script in the attachment (couldn't find a way to copy and paste the text), but it's not working. What am I doing wrong? Thanks for any help you can offer!
Adding screenshot of "Search Layout" wireframe (couldn't find a way to add multiple attachments)
Adding screenshot of "Result Layout" wireframe
The script is written correctly.
You might temporarily remove or disable the Set error capture step and run the script to see what error message appears. I suspect that it will tell you that no criteria was specified, but that's just a guess.
The script shown only works if the fields starting with "g" have global storage specified. Here are three ways that it might fail:
Global fields aren't really global
Fields placed on layout for find criteria aren't the global fields referenced in the script.
A date field is of type text instead of type date or a text field is of type number instead of type text.
Disabling the error capture step did the trick. Thanks!
I noticed the search will match on portions of the search string instead of the entire string (e.g. entering "john" in the search field will match "john", "johnny","johnson", etc.)
Any way to structure the search so it will only match the entire string?