Hi,
I am trying to add fields to the sendgrid plugin, and receive the info that the end user inputs in the email, any pointers would be a great help
Hi,
I am trying to add fields to the sendgrid plugin, and receive the info that the end user inputs in the email, any pointers would be a great help
You can edit the plug-in services as any other service. What exactly did you try?
Hi Max,
i need to add input fields for a few items that need to end up in the email message, for e.g. Name, Mobile, Time, Pickup Point, Destination etc, but in the mapping there is only one message parameter
You could store the data into local storage and then get them in the mapping JavaScript.
do you mean map local storage to message, or do I need a string for each input to be added in the mapping for each item
I meant something like this:
var name = localStorage.getItem(''name");
var mobile = localStorage.getItem(''mobile");
var pickup = localStorage.getItem(''pickup");
...
return name + mobile + pickup;
and pass this to the service in mapping.
cheers Max,
I'll try that
Hi Max,
I set this up as suggested but i cannot get it to work, hers what I did
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, email is sent but the name is not included in the email, I've done something silly. Hers the link
http://project.tiggzi.com/mobile-fram...
How do you save the "name" value into local storage?
in events, ''click'', add action ''set local storage variable'' variable name ''name'' bind to component ticked, property name ''text''