What Is the best way to have the cursor in the search field?
In The find mode, I have only one field and I want to have to cursor on it, then the user can understand now he must type on that field.
exactly the same way as was decribed to you in this post Add New Record Script
"FileMaker puts the focus in the first field in your tab order. You can change the tab order by selecting Set Tab Order while in layout mode."
See FileMaker Pro 15 Help for Tab Order help.
So, sir, I want to have a cursor in find mode and as you see that field it isn't the first field.
How can do it now?
While in layout mode, select "set tab order" from the layout menu.
Enter Find mode
Go to Field (your field, Select)
By setting the TAB Order. Did you read the Filemaker Pro 15 Help link I posted which describes HOW to set TAB Order?
Go into layout mode then select:
Set Tab Order>
Click in the arrow by the field to be set as first (and then a number 1 will appear in the arrow), press OK, CTRL+B to return out of layout mode. Done!
I do that sir.
But as you see I have many fields on browse mode but in find mode, I have only one field and all of them is in the SAME PLACE.
Set Tab Order:
So As you see what is the number of that search field?
Thanks all for help.
Ok, before trying to help you further, How are you entering find mode? are you having the user press a button which then performs a script which includes the script step "Enter Find Mode" ( I am assuming this is how you are doing it on the screens above as you have a paused script.
If this is the case then after the "Enter Find Mode" script step, add the "Go To Field" script step and specify whatever field it is you want to put the user in (again, from your screenshots, it is "FirstName Last Name". and that's it.
However, if you want to fully ensure that users end up in that field, even if they bypass your button (and therefore your script) by pressing Ctrl+F or Cmd+F of pressing the "Find" button at the top (part of Filemaker's standard icons, then you would still need to set the Tab Order.
As things are, you have some Tab orders already set on items that are conditionaly hidden when mode = find mode. Right at the bottom of you screenshot called "set tab order". So Firstly, the Set Tab Order options, press 'Clear All', the press the white arrow that is next to your field at the top which has 'First Name Last Name" displayed, then press OK and then leave Layout Mode. That's it, done.
I hide my all fields and in find, mode user can only see that search field.
But my question is if I choose that search field (1) in tab order so if the user in browse mode that search field is the first and is that true?
in my mind, I think this is false! so if you think this is okay so that is okay.
Have you tried what I suggested?
Tab Order is effective afaik in both browse and find mode.
so if I choose my field (1) that field is first at find mode and browse
On Mon, Mar 13, 2017 at 1:37 PM, markpelleymounter <email@example.com>
It will do, as long as your cursor is not already in a different field when you enter find mode. If your cursor is in another field, when you enter find mode, then the cursor stays in that other field (even it if is hidden by your "hide when" calculations.)
Retrieving data ...