can i get url parameters in a user event before su...
# suitescript
r
can i get url parameters in a user event before submit
s
as long as we mean via UI and you're tryubg ti get url parameters visible on the UI, that's possible for sure
r
how
s
depends on how you're parsing the params in, but as long as in the url, you can get it , last method being parsing this url in the ui and grabbing it
c
if its in the UI you can use window.location to get the URL
if its server-side, you don't have access to the URL as far as I know. You could make a non-stored field and on page-init store the url and read it on the server-side and do whatever though.
🙌 1