Page 2 of 5

sendgrid adding input fields

Posted: Tue Aug 07, 2012 10:50 pm
by Michael4771079

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'


sendgrid adding input fields

Posted: Tue Aug 07, 2012 10:59 pm
by maxkatz

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

Image


sendgrid adding input fields

Posted: Tue Aug 07, 2012 11:11 pm
by Michael4771079

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


sendgrid adding input fields

Posted: Tue Aug 07, 2012 11:58 pm
by maxkatz

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


sendgrid adding input fields

Posted: Wed Aug 08, 2012 12:19 am
by Michael4771079

sendgrid adding input fields

Posted: Wed Aug 08, 2012 12:24 am
by maxkatz

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


sendgrid adding input fields

Posted: Wed Aug 08, 2012 1:06 am
by Michael4771079

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


sendgrid adding input fields

Posted: Wed Aug 08, 2012 8:03 pm
by Michael4771079

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...


sendgrid adding input fields

Posted: Wed Aug 08, 2012 8:23 pm
by maxkatz

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.


sendgrid adding input fields

Posted: Thu Aug 09, 2012 9:52 am
by Michael4771079

app now shared