Forum Replies Created
I made changes to my rules to work with the new version but the scenario was.
I had a form ready rule that set fields hidden based on a group id. Then I had subsequent rules that made some of those fields required and additional rules that eventually made them visible. As soon as they became required they became visible.
It was probably a bad setup and my rules are actually cleaner now and the form is functioning as it did before the upgrade.
Yes, it is working now with apostrophes. I don’t think I’ll have an issue with duplicate display names so I think I’m good to go now. Thank you!
This above works most of the time but I still have an issue with some users. What I need to be able to do, if possible, is upon selecting a user from the list is set the field value to the Name or EMail of the selected instead of the title. When I debugged I could see that data in the results array but couldn’t figure out how to use it to set the field value. People with apostrophes in their name cause issues with my current workaround.
As a temporary fix I am executing a function on form save to set the value.
var p1 = getFieldValue(“PeoplePicker”);
I spoke too soon. It renders on the form as expected but the selected value is not saved in the People Picker.
I figured it out!
PERFECT! Thank you!!
I tried with the new version with the same results. Below is the code I am using for reference. Maybe I have one thing out of line that is causing the behavior?
Person is a Person or Group type field; allow multiple selections = no; allow selection of = people only; Choose from = Person Group; enforce unique values = no
1.6.28July 17, 2019 at 16:38 in reply to: User in group which contains Active Directory group #26103
Thank you! I’ll take a look at that and give it a try.
It was just a typo in the blog post. I copied the function from the documentation and changed false to true. When I click into the control nothing happens until I start typing. I appreciate you looking into it!
It works but you must know a portion of the target user’s name or email address. Setting listOptionsOnFocus to true doesn’t change the behavior. My hope was that if that was set to true when you click into the control it would show the first [rowlimit] number of users in the group to select from.
Thanks, Alex! That worked like a charm. I was afraid to try preloaddata since it was a large list and I thought it would slow down the form initialization but it doesn’t and the lookup is immediate now. Thanks again!
Perfect. Thank you!
Last question, can the field simply be renamed by prepending Odata_ or will the field need to be recreated?