# newbie: jumping from one form to another

**URL:** <https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297>\
**Category:** Classic Servoy\
**Created:** [July 14, 2011, 2:46am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297 "2011-07-14T02:46:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogel](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@rogel](https://forum.servoy.com/u/rogel)\
**Post date:** [July 14, 2011, 2:46am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297/1 "2011-07-14T02:46:42Z")

</div>

Hi!

I have a main form that shows a form dialog. And in clicking an action(e.g. NEXT) will proceed to the next form until it reaches a form with the FINISH button that will now close the form dialog.

What is the proper way of jumping from one form to another?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [July 14, 2011, 6:17am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297/2 "2011-07-14T06:17:13Z")

</div>

forms.FORMNAME.controller.show()

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [July 14, 2011, 6:37am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297/3 "2011-07-14T06:37:44Z")

</div>

Hi Rogel,

I think you want to use a form with a tabpanel in that dialog. You can set the tabs to be hidden and you simply switch between the forms by setting the tabIndex property of this tabpanel.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![rogel](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@rogel](https://forum.servoy.com/u/rogel)\
**Post date:** [July 15, 2011, 1:04am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297/4 "2011-07-15T01:04:18Z")

</div>

> ROCLASI:  
> Hi Rogel,
> 
> I think you want to use a form with a tabpanel in that dialog. You can set the tabs to be hidden and you simply switch between the forms by setting the tabIndex property of this tabpanel.
> 
> Hope this helps.

Thanks for the suggestions.

Does setting the tabindex automatically calls that onload or onshow event of the form?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [July 15, 2011, 7:56am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297/5 "2011-07-15T07:56:40Z")

</div>

> rogel:  
> Does setting the tabindex automatically calls that onload or onshow event of the form?

When changing the tabIndex the onShow of the form will be triggered.

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [July 18, 2011, 8:51am UTC](https://forum.servoy.com/t/newbie-jumping-from-one-form-to-another/14297/6 "2011-07-18T08:51:45Z")

</div>

The onChange event of the tabpanel will also be triggered when changing tabs.
