Attach (recommended) or Link to PDF file here:
[multiple.pdf](https://github.com/mozilla/pdf.js/files/6344777/multiple.pdf)

Steps to reproduce the problem:
1. Write something in a field

What is the expected behavior? (add screenshot)
The 3 fields must have the same value

What went wrong? (add screenshot)
The 2 other fields are empty

The three fields share the same name `Text3`.
It works as expected in Adobe and Chrome.
elementData.userValue = textContent;
      element.setAttribute("id", id);
      element.addEventListener("input", function (event) {
        storage.setValue(id, { value: event.target.value });
      });
      let blurListener = event => {
        if (elementData.formattedValue) {
          event.target.value = elementData.formattedValue;
        }
        
        event.target.scrollLeft = 0;
        elementData.beforeInputSelectionRange = null;
      };
      if (this.enableScripting && this.hasJSActions) {
        element.addEventListener("focus", event => {
          if (elementData.userValue) {
            event.target.value = elementData.userValue;
          }
        });
        element.addEventListener("updatefromsandbox", event => {
          const { detail } = event;
          const actions = {
            value() {
              elementData.userValue = detail.value || "";
              storage.setValue(id, { value: elementData.userValue.toString() });
              if (!elementData.formattedValue) {
                event.target.value = elementData.userValue;
              }
            },
            valueAsString() {