Passing Value to another Form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Devin McMahon
Posts: 4
Joined: Wed Jun 24, 2015

12 Sep 2016

I have 8 lists that are used mainly to trigger workflows and perform various operations. I am using SP Forms on these lists. Because the forms are more about Operations rather than list contents, I redirect to a different page following "Save".

I have read about redirecting to a generic "Thank You" type form after "Save", and I have a question.

I would like to have one generic "Thank You" form to which i would re-direct for all 8 lists, however, I would like to pass one value from each of the forms to this form, so I can do something like "the following item: XXXX has been processed" It would not have to be anything but some text that provides a reasonable amount of information to the user.

Obviously, these forms do not have a real relationship to each other.

I was considering putting a Rich Text or Simple Text field on the "thank you" form and passing text to set the value of that field when the "thank you" form opens, but I do not know if that is possible without a relationship. Can I set that via URL parameters?

Can someone weigh in on what my options are?

Thanks

YuriyMedvedev
Moderator
Posts: 33
Joined: Wed Sep 21, 2016

12 Sep 2016

hello devinmcmahon! To redirect and put parametr into URL you can use method sourceFormParam(value):

Code: Select all

fd.sourceFormParam('/SitePages/ThankYou.aspx?title='+fd.field('Title').value());
where '/SitePages/ThankYou.aspx' is link to page and after '?' you can add parametres like 'title=item1' and separate them by '&'. and then, on page ThankYou you can get this parametr:

Code: Select all

itemName = GetUrlKeyValue('title');

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests