Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

sendgrid adding input fields

sorry Max,
read this one

in events, ''click'', add action ''set local storage variable'' variable name ''name'' bind to component ticked, target component ''name'' property name ''text'

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

Did you write any custom JavaScript? There is an error in JavaScript mapping:

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

sendgrid adding input fields

in the mapping on ''name'' I added ''var name = localStorage.getItem(''name");''and mapped ''name'' to ''name''

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

Can you show a screen shot of the code and the mapping?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

2nd screen shot, the code should be:
var name = localStorage.getItem("name");

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

sendgrid adding input fields

i created a new sendgrid app, I did as before

I set a new app with sendgrid plugin, I then place an input and called it ''name'', I then set local storage on click and added ''name'' to the parameters in sendgrid settings, and then added the string as you suggested in mapping,

var name = localStorage.getItem("name");

same result email is sent but the name is not included in the email,

here's the new link

http://project.tiggzi.com/mobile-fram...

sorry for this but I am starting to feel like a moron

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

sendgrid adding input fields

Hi Max,
I am still in the same position, have done all your suggestions as above, still no good, link as follows

http://project.tiggzi.com/mobile-fram...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

I ran your app, the name value is not saved into local storage. Please share the app for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

sendgrid adding input fields

app now shared

Return to “Issues”