Summary
In Search Incidents screen, pressing the Clear button should keep focus on that field, but instead moves the focus to the first field on the form. Is there a solution for this?
Question
It is possible to choose the field where the focus will be placed when user presses a button in the Options menu
Answer
This is an example to make the focus stay in the current field when user clicks button "Clear" in format Search Incidents
1. Login with system administrator
2. Go to display option (do in the command line)
3. Search for “apm.search.problem.display_clear” unique ID
4. Go to Pre Javascript tab
5. Add:
$current_field=system.functions.cursor_field_name()
system.functions.cursor_field_name_set($current_field)
6. Save it
7. Go to Search Incidents and test it