Using JavaScript to Route Users in WeWeb

During this meeting, Anthony asked for help with a simple JavaScript function using script time. He wanted to be able to route people to a UI via a variable that changes the sub in the URL. The suggestion given was to use the window location href function in the action section of the code. It was recommended to use the function viewer, custom JavaScript view, select the variable, and input it where VAR is. Anthony mentioned that he is still learning JavaScript and appreciated the help.


Later in the meeting, David's question was postponed to be addressed later due to time constraints.


(Source: Office Hours 5/1 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free