add dynamic page link to a button

I solved the problem :
instead of writing the UserEmail in the string
wixLocation.to (/student/info/userEmail);

it must be like this:-

wixLocation.to (`/student/info/’ + userEmail);

:slight_smile: