Form data is not captured in the submission
We have created a Frevvo form from where we are opening a custom page(which is not developed using frevvo). On close of the custom page we are passing data back to the initial frevvo form using java script:
window.opener.document.getElementsByClassName("f-form")[0].SourceText.value = somevalue;
The “SourceText” here refers to a Input control in frevvo.
The frevvo form is displaying the return data as it should be but on submission these values are not captured.
Could you please provide help on this.
0
-
If you are using Live Forms v5.1 then this javascript should work to update the state of the server:
var rawCtrl = window.opener.document.getElementsByClassName("f-form")[0].SomeField;rawCtrl.value = 'happy holidays';window.opener.Model.updateControlValue(rawCtrl.parentElement, window.opener.UberController.valueChangeSuccess, function () {});If you are using Live Forms v5.3, change the last line to this:window.opener.Model.updateControlValue(rawCtrl.parentElement.parentElement, window.opener.UberController.valueChangeSuccess, function () {});0
Please sign in to leave a comment.
Comments
1 comment