Home › Forums › General discussion › Rules with people picker field are not working
Tagged: Hide ribbonrow on DFFS Form
- This topic has 19 replies, 3 voices, and was last updated 4 years, 4 months ago by Halim Lahoud.
-
AuthorPosts
-
-
May 21, 2019 at 11:17 #25358
Hi All,
can someone assist me to fix this issue ? the rules set with people picker fields are not working.
You can see one of rules attached.
Attachments:
-
May 21, 2019 at 12:14 #25361
Hi,
You might need to set a delay of for example 500ms in the Misc tab > Defer loading of DFFS.Alexander
-
May 23, 2019 at 17:05 #25415
Thank you Alexander,
it’s working now.
I’ve check the tick box to skip all subsequent rules, but it’s not working. can you please help me for that.
Attachments:
-
May 23, 2019 at 18:17 #25424
What is it that’s not working? – does some of your rules with a higher index trigger even if they should not? – have you tried to activate debug on all rules to see which is actually triggering?
Alexander
-
May 26, 2019 at 00:03 #25470
Hi Alex,
Thanks for your advices, i’ve debug and fix all of issues.
Thanks a lot.
-
May 26, 2019 at 00:08 #25472
Hi Alex
Please assist me for the below concern,
I want to hide the Edit ribbon wich appearing by default on New, Display and Edit Form; and hide the list name with appear on top of New form.
Please assist me.
Thanks in advance
Attachments:
-
May 26, 2019 at 13:39 #25475
If you like to hide the entire ribbon you can use this custom js:
jQuery("#s4-ribbonrow").hide();
Alexander
-
May 26, 2019 at 16:16 #25477
Thanks Alexander,
-
July 29, 2019 at 08:58 #26316
Hi Alexander,
Hope this message find you well,
While i try to hide the ribbonrow using this JavaScript the size of dialog Box in affected because it shifts the form content up. please how can i fix it ?
Thanks in Advance for your help.
Best
-
July 29, 2019 at 21:02 #26344
By fix it do you mean to not shift the form up when hiding the header, or to resize the dialog to fit after the header has been removed?
If it is a dialog resize you want you can run this function when the header has been hidden:
spjs.dffs.resizeDlg();
Alexander
-
July 29, 2019 at 21:25 #26356
Hi Alexander,
thanks for your feedback.
jQuery(“#s4-ribbonrow”).hide();
spjs.dffs.resizeDlg();i’ve run it but the form still not resized.
please is there something wrong on my side ?Best
-
July 29, 2019 at 21:30 #26360
I’m not sure what it could be, but if you post a few screenshots (please mask any sensitive information) I’m at least sure I fully understand what you mean.
Alexander
-
July 29, 2019 at 22:11 #26372
Hi Alexander;
please look at on this printscreen
Best
Attachments:
-
July 29, 2019 at 22:13 #26375
the heigh of this form is bigger than its appear on this print screen.
-
July 29, 2019 at 23:18 #26380
It’s a bit unclear from the screenshot, but it looks like you are not opening the form in a modal dialog? – if not, the spjs.dffs.resizeDlg() function will not do anything.
Please give me some more details about how it looks vs what you want it to look like.
Alexander
-
July 30, 2019 at 08:22 #26385
Hi Alexander,
Thanks for your feedback,
but if this “it looks like you are not opening the form in a modal dialog?” is true; how can i open my form in the modal dialog ?
please look at the attached print screen where the ribbon in not hidden, i want the form to still with the same size after hidding the ribbon.
Best regards
Attachments:
-
July 30, 2019 at 13:43 #26394
No, I don’t think you should open the form in a dialog – full page view is better, but I don’t understand what you mean by hiding the ribbon – is it the red banner in the top of the page – with SharePoint | Sites or the part with the logo and the IT Service Request label?
If you only want to hide the content in the ribbon and not completely remove it you can try this snippet instead – but keep in mind I’m not 100% sure I understand what you mean.
jQuery("#s4-ribbonrow").css("visibility","hidden");
Alexander
-
August 18, 2020 at 12:48 #31230
Hello Alexander,
I used your solution to hide the banner but is there a way to make the banner to be closed when the user opens the item (as if he clicked on Browse) and then if he wants to access to the banner he will click ViewThank you in advance
Halim Lahoud -
August 18, 2020 at 16:57 #31240
This is a bit tricky as the ribbon will dynamically adapt to the type of field you are focusing on, but you can try using this instead of hiding it:
setTimeout(function(){ jQuery(".ms-browseTab span:first")[0].click(); },100);
Alexander
-
August 19, 2020 at 08:28 #31259
Thank you
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.