Pre-Form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
Roo
Posts: 107
Joined: Tue Oct 24, 2017

15 Feb 2018

Is there a way of creating a pre pop up form prior to entering the main form?

This pre-form would then format the main form based on the simple choices made.

If this is not possible could it be put on a wish list for future development?


Thanks

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

15 Feb 2018

Dear Roo,
I would recommend to use JavaScript Window prompt() Method or Window confirm() Method, which allows you to get users input from a popup window, then use entered input in order to modify the form as necessary.
Cheers

User avatar
Roo
Posts: 107
Joined: Tue Oct 24, 2017

15 Feb 2018

Yeah I saw this (and have used it previously). But what i'm trying to achive, is for the user to change a value within the list (a multi choice option) prior to loading the rest of the form.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

15 Feb 2018

Why not have two forms? One form with Choice field, then redirect user to the main form, depending on choice?

Dialog mode wouldn't work here, though, but otherwise, this is more than doable. Which version of SharePoint are you using?
Cheers

User avatar
Roo
Posts: 107
Joined: Tue Oct 24, 2017

15 Feb 2018

2013.

I'll give the 2 form option a try. I'm in the earlier stages of development of this particular issue, so its not a real problem.

Thanks

User avatar
Roo
Posts: 107
Joined: Tue Oct 24, 2017

15 Feb 2018

Just a thought - If I have the "New form" displaying the "pre-form" can I open the same item on saving? (ie closing it and reopening it) The Edit version of the same form showing the main part of the form?

User avatar
Roo
Posts: 107
Joined: Tue Oct 24, 2017

15 Feb 2018

I got this working really well by using the javascript you described in the other open topic :)

fd.onsubmit(function() {
var uri = fd.setUrlParam(decodeURIComponent(window.location.href), 'FDRedirectWithID', 'http://###/sites/Quality/IM/Lists/Issue/?ID=');
fd.sourceFormParam(uri);
return true;
});

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

15 Feb 2018

Excellent news, Roo! Tell us if you'll need anything else, we would be glad to help!
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests