Reference iframe under current

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Jaydius
Posts: 43
Joined: Thu Nov 12, 2015

07 Nov 2019

Is there a way to reference the last iframe before the active iframe? Depending on where I access a form, I have fields being called from the previous form using the following:

Code: Select all

var iframes = $('iframe.ms-dlgFrame', window.top.document);
var parentFD = iframes[1].contentWindow.fd;
Can the index [1] be dynamic to account for accessing the form through more steps/iframes?

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

08 Nov 2019

Hello Jaydius,

Could you provide more detailed information about your form and what you want to achieve.

Some screenshots also would be helpful to understand the requirements.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests