add a `alert(url)` before the `return url` to do...
# suitescript
c
add a
alert(url)
before the
return url
to double check the url is actually being created correctly and that your function is indeed running. If it is all good, the next step is to apply the
url
to the action.
p
hmm thanks @Charles Halliday I think I'm in over my head here. Still not really sure how to do this. I'm not experienced with JS and was jut using the script provided in the help center article. NetSuite's solution is the use
Copy code
<a href=”#” onclick=”document.location.href=appendNSParams(Publishable Form URL)”>Contact Us
</a>
but I'm not using an href as the button on the form.