Form data is not captured in the submission


1 comment

  • Avatar

    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 () {});
    Comment actions Permalink

Please sign in to leave a comment.