cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

Hi! Is there a way to create a link to a location in the NINTEX form?

Labels: (1)
0 Kudos
Reply
11 Replies
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

If I'm understanding you correctly, it sounds like you want the functionality of an anchor tag in your form. Unfortunately, it's not as simple as just adding the HTML code. 

However, I did find the following article that may work for you written by Daniel Stoll‌:

Adding Anchors/Bookmarks into your large Nintex Form




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

Thank you so much!

0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

You're very welcome. If that worked for you, don't forget to mark the question as answered.




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

I'm new to NINTEX and unfortunately cannot get the 'Label' controls on the

form to work. Could you provide more details on how to create the Label

control 'To Bottom' and 'Back to the Top' as it doesn't function when I

either preview it or publish it.

0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

Pete Frometa‌, I hadn't tested the code in the article I linked to. Since you said you were having issues, I just tried it now, and I also was unable to get it to work. 

However, I modified the code a little, and that is working:

NWF$(document).ready(function(){

    $('.moveTop').click(function(){ 
        NWF$('div.overflowY').scrollTop(0);
    }); 

    $('.moveBottom').click(function(){
        NWF$('div.overflowY').scrollTop(5000);
    });  
  
});

Make sure you give your labels the correct CSS Class names to work with the JavaScript:

Example:

Let me know if you have any issues with that.




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

Chad,

It worked! Thank you!

0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

I'm very glad to hear it worked for you. Please remember to mark the question as answered.




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

Chad,

For some reason, the bookmarks only work in the preview mode not when I

open up the form from the SharePoint List Library. Do you know what could

be causing this?

0 Kudos
Reply
Workflow Hero

Re: Hi! Is there a way to create a link to a location in the NINTEX form?

Jump to solution

You're completely right.

It works great in Preview, but doesn't do anything once you publish it and try in the production environment.

It took quite a bit of trial and error, but this finally worked for me:

NWF$(document).ready(function(){

    NWF$('.moveTop').on('click', function() {
        $('#s4-workspace').animate({scrollTop: 0}, 0);
    });

    NWF$('.moveBottom').on('click', function() {
        $('#s4-workspace').animate({scrollTop: 5000}, 0);
    });

});



SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Reply