Page 1 of 1

Importing local storage variable into sendgrid

Posted: Tue Sep 17, 2013 6:24 pm
by Ian Brenchley

Hi there, as you can see i am trying to plug in local storage variables to send grid. This is due to have a multi page form, so fields get saved as local storage variables and are sent using sendgrid on the last page.

Basically I am trying to get these variables into the email text. Clearly this is not the correct syntax as the message body currently contains: {where} {whereto} instead of the actual variable.

Any help would be much appreciated. Image


Importing local storage variable into sendgrid

Posted: Tue Sep 17, 2013 6:37 pm
by Maryna Brodina

Hello! You can add JS in request parameters mapping and form in this JS any text you need from localStorage variables. Please take a look here http://docs.appery.io/documentation/u...