redirection new item on same page

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Malboro
Posts: 28
Joined: Wed Mar 09, 2016

30 May 2016

hi,

I want to redirect on same page a new item (not pop-up or new tab).

Thanks

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

30 May 2016

Hi,

Didn't quite get that. You cannot open an existing item in a new item form if that's what you're after. That's what the edit form is for.

Malboro
Posts: 28
Joined: Wed Mar 09, 2016

30 May 2016

Ok thanks I need open this in a tab because i use fd.setUrlPAram. I open in a new tab and when i want to close previous tab IE ask to users if they would like to close this tab and i search a solution ...

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

30 May 2016

The fact that you use setUrlParam doesn't explain what you're trying to do. You'll need to provide a clear explanation as to what you're tring to achieve. You can use screenshots to aide you with that (post your screenshots to postimg.org and provide links).

Malboro
Posts: 28
Joined: Wed Mar 09, 2016

30 May 2016

When i click on new item

http://s33.postimg.org/7h5d0zpwv/newitem.png

I want to open link in the same tab.

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

30 May 2016

Add a CSS class to the related items control, e.g. 'my-control'. Then:

Code: Select all

$('.my-control #idHomePageNewEvent').removeProp('onclick')

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests