Pass current Parent field value to child Edit Form
- This topic has 2 replies, 2 voices, and was last updated 4 years, 7 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › vLooup for SharePoint › Pass current Parent field value to child Edit Form
From the topic, is it possible to take current AC results and if updated, data pass them to the child in edit form? I know it can be done via callback in new form but also looking to do it in edit form.
Scenario:
I have one multi-select autocomplete field on the parent form. When populated, the results make up a multiselect options field on the child form. If a user edits the parent, adds a new value in the autocomplete field, I’d like for them to be able to edit an existing child and see the newly added value, from the autocomplete, as an option.
I managed to pass the parent value over using the sessionStorage.setItem and .getItem. That appears to work for now unless there is a better way out there.
Hi,
Sorry for not replying – the email notification on my site broke after an update and I didn’t catch your question.
I think the solution you have already figured out is OK. You should probably use sessionStorage.removeItem to clear the value when you are done setting it to avoid any other child items inheriting the value if you edit another in the same session.
Alexander