cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Katjua
Level: Powered On

Person field combo box OnChange issue

Issue1

I have 2 screens. BrowseScreen with gallery. Once I click on an item, it navigates to edit form on EditScreen. I have set a flag variable. OnChange for a person combobox, the flag is set to 1. 

 

Issue: For a given record from gallery in BrowseScreen. Once I select one and navigate to edit screen, all the Person fields get triggered, and the variable is set to 1 when I haven't clicked in them at all. I does not do this for simple text fields. 

EDIT: I only does this when the person field is filled. It's as if when the screen is loaded, all the code is executed. 

 

Issue 2

On an existing record, when I remove a name from the person combo box field and hit the submit button which has SubmitForm function, the name does not get removed in data source (SharePoint). When I manually remove it from SharePoint, it works. It works for regular text field.

 

Is this a bug? If not, what am I missing? 

 

Thank you

2 REPLIES 2
pcp
Level: Powered On

Re: Person field combo box OnChange issue

Check the code in the Item property of the form. What does it say?

Katjua
Level: Powered On

Re: Person field combo box OnChange issue

LookUp(<SP list>, ID = CalendarEventsGallery1.Selected.ID)

 

The form is fetching the details of the item selected from a gallery on previous screen.