-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Hi! Related to #584
It seems onQuestionChanged callback gives the ref value for every type of screens except "welcome" and "ending" screens.
Problem
If we want to know which ending screen has been loaded, we must wait for the user to click on the "ending button" to trigger the onEndingButtonClick callback where we receive the ending screen's ref value. But the user may not click on the button (and at this point of the form, the user is not even required to click, the form has been submitted and saved).
Possible solutions
- Could you trigger the
onQuestionChangedcallback when an ending screen is shown ? - Or include the
endingRefin theonSubmitcallback ? - Or add a new event
onEnding, like that:onEnding({ formId, ref })?
Our context
Our web app, where typeforms are embedded, needs to know which ending screen is showing up to update background state, even if the user does not click on the "ending button". And at the moment the TF is filled, it cannot contact the Typeform API yet to get more informations on where the user ended.
Tx