vineetu1
4th July 2005, 08:28
I have created session where there is one field with domain tcyesno
If the yes option is selected then it should display 4-5 fields below it. But if No is selected then all these fields should be hidden and the focus should be on 'continue' button.
I am able to hide the field with inputfield.invisible() function.
But I need to move the focus to 'continue' button. How can this be achieved ?
there is a function set.focus(). But for that we need to know the object_id (in long). How to get the object_id of any object on a form (like 'continue button')
If the yes option is selected then it should display 4-5 fields below it. But if No is selected then all these fields should be hidden and the focus should be on 'continue' button.
I am able to hide the field with inputfield.invisible() function.
But I need to move the focus to 'continue' button. How can this be achieved ?
there is a function set.focus(). But for that we need to know the object_id (in long). How to get the object_id of any object on a form (like 'continue button')