This message was deleted.
# questions
b
This message was deleted.
a
You probably could hack it with a custom script
i
Any idea how I could do that?
a
Depending on your plan you'd need to side load a script file and write out some JavaScript that looks into the stored variables on the session and parses the user email. If you don't need it in the create form you could just auto fill the user and do a lookup for their email
r
This is why we REALLY need Stacker to make data like this visible to us. The ability to extract data from the page to insert into URLs or blocks of text is huge for us.
a
you can find the value in Local Storage at
user._email
but you’d need to know how to code to pull that out
i
Any idea how I could adapt this bit of code? Would really appreciate your help ! (function() { let emailData = ''; if(window['logged_in_user'] && window['logged_in_user']['softr_user_email']) { emailData = window['logged_in_user']['softr_user_email']; }
a
Probably not that because it’s Stacker, not Softr
You can prob use
localStorage.getItem
outlined here: https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem
but you’d also have to write the code that fills in the email field. It’ll be tough
this might help