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

sendgrid adding input fields

It should be working now. On button click, a new local storage variable is created. Then for 'text' mapping, we get the name from local storage.

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

sendgrid adding input fields

Hi Max,
thank you works now,
can I ask you, I did have ''name'' in local storage, but your addition had ''_name''

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

sendgrid adding input fields

You were not saving the name, when the button was clicked.

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

sendgrid adding input fields

sorry Max,
I don't follow, ''name'' was saved in properties, in parameters and local storage, but if you look at mapping your ''_name'' is different to my ''name''

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

sendgrid adding input fields

The name should be saved in local storage.

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

sendgrid adding input fields

I don't know how to do that,
I saved it it all the places I assumed where necessary, please explain.

on a more amusing note did you study dentistry!

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

sendgrid adding input fields

Click button and see its events. That's where the name is saved.

Dentistry - nope :)

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

sendgrid adding input fields

Max,
it works on name, added new input ''mobile'' I have set it up the same as name, but I am missing something

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

sendgrid adding input fields

It's similar steps for any other field you want to display in email body:

  • On button click, save the value into local storage
  • In email body mapping, read the value from local storage and append it to the body.
Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

sendgrid adding input fields

Max
I have copied the setting for ''name'' including local storage, mapping and click button and applied to ''mobile'' imput, but no result

Return to “Issues”