Skip to main content

Form data is not captured in the submission

Comments

1 comment

  • MaryAnn

    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.