

Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-25
15:42
1551 views
All,
On validations, I created activity registration for Tasks.
On any update, an activity needs to be registered. If not, validation invoked and I want the focus to the activity field.
Validation : not null(denull($cmt.update))
Update : true
Message : Please describe your Activity.
On Failed Validation Set Focus to: $cmt.update
The activity info is on the second tab on the form.. and the focus is not jumping to the field ...
Windows client
any thoughts?
Maurice
On validations, I created activity registration for Tasks.
On any update, an activity needs to be registered. If not, validation invoked and I want the focus to the activity field.
Validation : not null(denull($cmt.update))
Update : true
Message : Please describe your Activity.
On Failed Validation Set Focus to: $cmt.update
The activity info is on the second tab on the form.. and the focus is not jumping to the field ...
Windows client
any thoughts?
Maurice
1 Solution
Accepted Solutions


Fleet Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-25
17:12
The only thing I can think of that explains the behavior you're describing is what Tommy mentioned - failure to label an object on the form.
But it's possible you're not sure what he means there, so I thought I'd give some explaination, followed by a way to test if this is the case.
For every element on your form, you know there are properties for that form element; simple things like the "X" and "Y" positions, or the "Width" and "Height" are easy to notice, because there are direct and easily visible reprecussions to these values. Other things, like the "Name" property, for example, you might not even notice, especially for elements that OOB on the forms. But, if the "Name" property is blank on ANY of the form's elements - this means any of the input-type elements (like the Text Box, the Combo Box, etc.), or the label-type elements, and even the Notebook and Notebook Tab type elements - you can experience the issue you're describing.
An easy way to test if this is the case for you is to save a backup copy of your form, and then delete huge sections of your form in Form Designer. At a certain point, you'll see the focus start to work.
But it's possible you're not sure what he means there, so I thought I'd give some explaination, followed by a way to test if this is the case.
For every element on your form, you know there are properties for that form element; simple things like the "X" and "Y" positions, or the "Width" and "Height" are easy to notice, because there are direct and easily visible reprecussions to these values. Other things, like the "Name" property, for example, you might not even notice, especially for elements that OOB on the forms. But, if the "Name" property is blank on ANY of the form's elements - this means any of the input-type elements (like the Text Box, the Combo Box, etc.), or the label-type elements, and even the Notebook and Notebook Tab type elements - you can experience the issue you're describing.
An easy way to test if this is the case for you is to save a backup copy of your form, and then delete huge sections of your form in Form Designer. At a certain point, you'll see the focus start to work.
11 Replies


Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-25
16:01
Hi Maurice
Check your format and make sure that all objects hidden as well as visible have a name defined. Just one missing name can cause set focus to fail.
Check your format and make sure that all objects hidden as well as visible have a name defined. Just one missing name can cause set focus to fail.


Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-25
16:31
HE Tommy,
checked it , nothing hidden on that level. Any other thoughts maybe?
cheers
checked it , nothing hidden on that level. Any other thoughts maybe?
cheers


Fleet Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-25
17:12
The only thing I can think of that explains the behavior you're describing is what Tommy mentioned - failure to label an object on the form.
But it's possible you're not sure what he means there, so I thought I'd give some explaination, followed by a way to test if this is the case.
For every element on your form, you know there are properties for that form element; simple things like the "X" and "Y" positions, or the "Width" and "Height" are easy to notice, because there are direct and easily visible reprecussions to these values. Other things, like the "Name" property, for example, you might not even notice, especially for elements that OOB on the forms. But, if the "Name" property is blank on ANY of the form's elements - this means any of the input-type elements (like the Text Box, the Combo Box, etc.), or the label-type elements, and even the Notebook and Notebook Tab type elements - you can experience the issue you're describing.
An easy way to test if this is the case for you is to save a backup copy of your form, and then delete huge sections of your form in Form Designer. At a certain point, you'll see the focus start to work.
But it's possible you're not sure what he means there, so I thought I'd give some explaination, followed by a way to test if this is the case.
For every element on your form, you know there are properties for that form element; simple things like the "X" and "Y" positions, or the "Width" and "Height" are easy to notice, because there are direct and easily visible reprecussions to these values. Other things, like the "Name" property, for example, you might not even notice, especially for elements that OOB on the forms. But, if the "Name" property is blank on ANY of the form's elements - this means any of the input-type elements (like the Text Box, the Combo Box, etc.), or the label-type elements, and even the Notebook and Notebook Tab type elements - you can experience the issue you're describing.
An easy way to test if this is the case for you is to save a backup copy of your form, and then delete huge sections of your form in Form Designer. At a certain point, you'll see the focus start to work.


Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-26
13:10
Thanks Jacob. got all that. No fields as such ..
I did place the tab as the first tab : it works.
I placed the field on the form, removed all tabs at all : it works.
What can cause this ?
thanks!
maurice
I did place the tab as the first tab : it works.
I placed the field on the form, removed all tabs at all : it works.
What can cause this ?
thanks!
maurice


Fleet Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-26
13:12
You missed some then. If moving it around to a different location or deleting other elements from the form worked, then there's some field, tab, label, input, or other form element missing its Name property...


Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-31
09:24
interestingly, when I test this with another field, like assignee.to , it does work ...
anything to do with the fields being variable?
anything to do with the fields being variable?
BCP

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-31
16:18
At which format control you are using validations eg. Form level or master..


Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-01-31
19:11
Hi BCP,
Form level.
Cheers
Form level.
Cheers
BCP

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-02-01
09:00
the main reason for the focus is not coming is as stated above that some elements don't have any name assigned to them.............
I would say push your validations to the master format control and see if it works.......
I would say push your validations to the master format control and see if it works.......


Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-02-03
08:42
interestingly enough, it does work on the web client ... and that is what the end users use .. so left .. thanks to all participating in solution
dfilipovic2

Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-05-26
08:31
Hi @Jacob Heubner I have the same problem with HPSMv9.50. I have checked all objects on the form and named them. Do you know that I need to flush cache on Tomcat, delete work/localhost/... in there or it should work immediately?
Thanks,
Dino