Forum Replies Created
-
AuthorPosts
-
It was the first one, changing the parent made an option from the previous parent still show in the dropdown.
But, your fix worked! Everything is working 100% perfectly now 😀
Thank you so much for the quick response!
Thanks Alex you’re the man, this does exactly what I wanted!
I did notice if I change the parent dropdown after selecting something in the child dropdown, the children still contain a value that shouldn’t be available based on the parent option. Is there any way to force the child dropdowns to “reset” if the parent is changed?
Hi Alex,
So by calling
spjs.casc.init
several times, I was able to fix it on one list. But for giggles, I wouldn’t mind seeing if there’s a bug using the normal configuration on the backend, since I’d like to avoid having to maintain the functions (I don’t trust my users to not mess up the code haha!)
Here’s another list, where I’ve configured the dropdowns. Only the first rule actually works, other one shows a blank dropdown. If I change the second rule to use a different list, it will then work. So it seems like the issue is that the standard method doesn’t like it you try create different sets of dropdowns that use the same source list?
Hopefully the screenshots help you understand what I mean better! 🙂
- This reply was modified 4 years, 7 months ago by Bloodlvst.
Attachments:
Thanks Alex, I’ll give that a shot and let you know how it goes. If I still have trouble I’ll include some screenshots.
No worries Alex! I’ll try to work around it and/or see if we’re able to convert the workflows to 2013 Workflows. 🙂
I just noticed this doesn’t seem to be working for a few Sharepoint 2010 workflows we’re using. Is that a limitation of this method, that it can only be used with Sharepoint 2013 workflows?
Wow Alex,
This is incredible. And it actually works! I tried to get it to work on my end but couldn’t, then I just now noticed the email saying you replied and you have a working solution!
Beer has been sent your way for this one! 🙂
Thanks so much!
@Brett – No this would just be a normal HTML button that does a JS function on click.
@Alex – Thanks for this, I thought it might be related to that, just was unsure if there was a better way. I’ll experiment with this today and let you know if I find something that does this so other users can use this if possible 🙂
Hey Alex!
I’m getting the following error when I call the function:
NEVERMIND! I’m an idiot who didn’t use the internal field name. All good now! 😀
- This reply was modified 9 years, 1 month ago by Bloodlvst.
Is there another element within/around the whitespace that’s not hidden? You may need to hide this as well or modify how it displays.
You could also try using CSS to set them to dispay:none; instead of visibility:hidden; though I don’t think that should make a difference.
- This reply was modified 9 years, 1 month ago by Bloodlvst.
Sure thing! The trigger is:
If field “Status” is equal to “Resolved|Closed”
Triggers on field changeThe rule makes the following fields mandatory:
Primary Issue
Secondary Issue
Service Category
Root Cause
OwnershipCurrently, no matter whether those fields are empty, it pops up the alert if you changes the “Status” field to “Resolved” or “Closed”. Of course this makes sense based on the rule, but I’m looking to trigger the alert only if “Status” is changed and any of the 5 fields are empty (without making 5 more triggers).
Let me know if you need any more info, and thanks so much for offering to help with the function if necessary! 🙂
As always, thanks Alex!
This works exactly like I need it to! Now those 3 articles will have their special formatting when being displayed and still be easy to edit for our novice users 🙂
How much is a beer in Norway? I owe you several at this point.
November 4, 2015 at 20:08 in reply to: Default "Overwrite existing files" in Upload Image unchecked #9189Thanks to you both!
Alex, your solution works great after testing it out.
A small question though, instead of calling the function over and over using setInterval(), would you recommend adding a clearInterval() once the change is applied to the Upload.aspx? Or is the impact on performance negligible?
Thanks again, happy camper here 🙂
For anyone who comes across Alex’s solution to this:
I had this header for every tab on my page (essentially, the form showed the PM number on every single tab in the same spot). You may run into trouble with it only showing on the first tab. You can fix this by modifying the code to the following:
PM Number: <span class="putPMNumberHere" />
// For DispForm $(".putPMNumberHere").html(getFieldValue("YourFieldName",true)); // For EditForm $(".putPMNumberHere").html(getFieldValue("YourFieldName",false));
Just use classes instead of ID’s 🙂
Ah, good old brackets.
Working like a charm now! Thanks so much! 😀
-
AuthorPosts