Form Field pull from Agenda Sessions

Hi there,

I am trying to use the below documentation to try and pull a field from my Agenda to a form.

The exact use case is that I am trying to pull the “Title” field from my “Event - Agenda” data source, to populate a field named “Title” on screen name “Meeting Feedback”.

The idea is that when I click on my session, I am presented with a notes icon which takes me to “Meeting Feedback” screen (which I already have), BUT when the form loads, it also loads the “Title” of the Agenda Session I came from, e.g. Networking Evening

Is this something you can help with?

Hello!

Thank you for your question. It really depends on if “Meeting Feedback” and notes icon are custom and if they have custom redirection. If yes, then we could update the code that takes the user from Agenda screen when notes icon is clicked to “Meeting Feedback” screen by adding selected agenda’s title as a query parameter. Then on “Meeting Feedback” screen we could read this query parameter and set it as the form field value.

There are some icons that are rendered in agenda’s detailed view as a result of agenda’s configuration on “Admin - Manage Agenda“ screen. Those buttons have build-in redirection and can’t be updated. When those buttons are clicked, there is still some data saved to the storage that we can use to set the title of agenda on “Meeting Feedback” screen.

In order to help you, I would like to know how those buttons appear in detailed view of agenda. Could you please clarify this?

Thank you for your response - the button is the “Survey” button which has been redirected to a screen named “Meeting Feedback”.

This “Survey” button is the standard with the event solution but has been changed in the Global JS var’s to go to “Meeting Feeback” screen as opposed to its old screen name.

In this case it should work automatically. In screen JS you should see ‘loadSessionName‘ function. The second parameter that is passed to the function is the name of the form field where session’s name should be set, e.g. “Session“. Your form most likely will have ‘Session‘ as a hidden form field. You can add a new form field or rename existing form field to make it visible.

loadSessionName(‘surveySessionTitle-’ + Fliplet.Env.get(‘pageId’), ‘Session’);