javascript – How to pass a Salesforce html formula URL prefilled into a FormAssembly field into a HTML image or hyperlink?

javascript – How to pass a Salesforce html formula URL prefilled into a FormAssembly field into a HTML image or hyperlink?

<a id=button>
  <img style=max-width: 100%; height: 60px; alt=Apply src=//microcollege.tfaforms.net/forms/get_image/1/pTC9C8qKq4Rt5niNfwTToFP09IsMdkqPUXjsqcGcX0gNWrB2tpq3uh0wlBdk5jbd-ApplyButtonwithdocument.png>
</a>

<script type=text/javascript>
  const a = document.getElementById(button).href = ApplicationURL
</script>

javascript – How to pass a Salesforce html formula URL prefilled into a FormAssembly field into a HTML image or hyperlink?

Leave a Reply

Your email address will not be published.