Highlighted
Super Contributor.
Super Contributor.
111 views

How to enable Focus on fields : SM 9.34

Jump to solution

Hello, during the filling of fields in a form ¿can i set an order (or TAB order) of fields's filling? and if a required field is not completed, then SM shows a Message saying, for example, "Please complete the location field" . If I accept the Message ¿is it possible to focus the cursor on the field to complete? ¿how can i configure TAB and cursor's focus?

I'm using Process Designer.

Thanks in advance.

Good questions will have Good answers
0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to enable Focus on fields : SM 9.34

Jump to solution

Hello Norita,

hope you are doing well,

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

This is also valid for other Display Options (eg, in Search Interactions, button Restore...)

 

For more details please take a look on the following link:

https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM44853

 

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

View solution in original post

0 Likes
2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to enable Focus on fields : SM 9.34

Jump to solution

Hello Norita,

hope you are doing well,

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

This is also valid for other Display Options (eg, in Search Interactions, button Restore...)

 

For more details please take a look on the following link:

https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM44853

 

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

View solution in original post

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: How to enable Focus on fields : SM 9.34

Jump to solution

Carlos, thank you very much! (muchas gracias, Carlos)

Good questions will have Good answers
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.