Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Open a Index Page from Using a Extra Action Button on a Form

Post Reply
mohith13158920
Posts: 2
Joined: Thu Jun 28, 2012 11:19 am

Open a Index Page from Using a Extra Action Button on a Form

Unread post by mohith13158920 »

Hi,

I have created a new button on a Form using extra action buttons and my requirement is that when i click on this button it should allow me to navigate to Index page. As given in the Documentation of nuBuilder that we can use openForm() method of the JavaScript to navigate to other form. But i am not able to Navigate to the Index page using this method. Following is the script which i have used.

openForm('index', '-1');

But if i use the same script for the Button created in the Form instead of extra action button its working fine. So is there any limitation that openForm() will not work in the Extra Action button. If it is so then please can you provide me a alternative to achieve this.


Regards,
Mohith Bodhankar.
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Open a Index Page from Using a Extra Action Button on a

Unread post by admin »

Hi Mohith,

Are you using a recent version of nuBuilder that uses breadcrumbs?

That looks like this?
Capture.PNG
Capture.PNG (10.61 KiB) Viewed 2717 times
Steven
mohith13158920
Posts: 2
Joined: Thu Jun 28, 2012 11:19 am

Re: Open a Index Page from Using a Extra Action Button on a

Unread post by mohith13158920 »

Hi Steven,

Thanx a lot for your reply.I am using the Latest version of the nuBuilder. But in my requirement i will not see this because i am directly navigating from a calendar application into nuBuilder form to enter details. please see the below screen shot. So thats the reason i need a button that will allow he to navigate to home screen.

Home Screen.PNG
Home Screen.PNG (23.06 KiB) Viewed 2714 times

Regards,
Mohith Bodhankar
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Open a Index Page from Using a Extra Action Button on a

Unread post by admin »

Mohith,

Try using double quotes..

openForm("index", "-1");


Steven
Post Reply