Skip to main content
Nintex Community Menu Bar
Solved

Auto select Brose on Load - Nintex Forms

  • June 7, 2022
  • 4 replies
  • 60 views

kgiles
Forum|alt.badge.img+4

I don't want users to see the edit options on load of my form. 

Is there a way for the Browse option in the ribbon to be auto selected on load of form?

Best answer by cecilia-penha

Hi @kgiles

You have to implement some customizations to achieve it.

 

As an example, you can implement the following solution : 

 

1- First, access an item of the list in edit mode

2- From the menu within the editform.aspx form, click Edit page option

 

3- Add a Script Editor Web Part

 

4- Edit the Script Editor Web part and insert the embed code :

 

<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
function clickBrowseTab(){    
    $("a[class='ms-cui-tt-a']")[0].click();            
}window.onload=function(){  
  setTimeout(clickBrowseTab,500)
};
</script>

5- Stop editing

 

When you edit the item, the Edit menu is hiding until the user click on edit again. The script simulate the Browse click.

 

Let me know if it helps. ^^

4 replies

cecilia-penha
Nintex Employee
Forum|alt.badge.img+8
  • Nintex Employee
  • June 13, 2022

Hi @kgiles

 

Could you please be more precise ? Are you on classic or new experience ? What is the SharePoint version ?

Natively, when you click on the linked Title of the item you are automatically redirected to the Display form and not the Edit form ? 

 

The Edit option within the ribbon will be available for users with edit permissions with some SharePoint customizations this can be changed. 

 

Are you talking about the Edit option within the SharePoint or Nintex form ?

 


kgiles
Forum|alt.badge.img+4
  • Author
  • Rookie
  • June 13, 2022

Thanks for looking at this and sorry for not providing better details. I'm using Nintex 2013 Classic. I would like users not to see the Edit tab on load but rather have to select the edit tab when needed. I would love if the form would load with Browse auto selected. 

 


cecilia-penha
Nintex Employee
Forum|alt.badge.img+8
  • Nintex Employee
  • Answer
  • June 14, 2022

Hi @kgiles

You have to implement some customizations to achieve it.

 

As an example, you can implement the following solution : 

 

1- First, access an item of the list in edit mode

2- From the menu within the editform.aspx form, click Edit page option

 

3- Add a Script Editor Web Part

 

4- Edit the Script Editor Web part and insert the embed code :

 

<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
function clickBrowseTab(){    
    $("a[class='ms-cui-tt-a']")[0].click();            
}window.onload=function(){  
  setTimeout(clickBrowseTab,500)
};
</script>

5- Stop editing

 

When you edit the item, the Edit menu is hiding until the user click on edit again. The script simulate the Browse click.

 

Let me know if it helps. ^^


kgiles
Forum|alt.badge.img+4
  • Author
  • Rookie
  • June 22, 2022

You are awesome 🙂 Thank you! Sorry it took me a bit to circle back.