GTM Email Form Field



    Wesley van Wyk

    The code invokes a function and supplies the value of the input field as the parameter.

    function() {
      var inputField = document.getElementById("myFormField");
      return inputField.value || "";
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.