Page 1 of 1

Multiple local storage items to one text line.

Posted: Fri Feb 20, 2015 2:32 am
by Brady McKenna

Trying to pull multiple text items from local storage and place in message field of the sendgrid email form.
Example: Name address and phone, all in one line. I can get it to go to the subject line but only one not all three.
I could pull the information from the database as well. I am not sure what would be easier.


Multiple local storage items to one text line.

Posted: Fri Feb 20, 2015 10:38 am
by Evgene Karachevtsev

Hello Brady,

Please use such code on Load page, or datasource Success, or another needed event: precodeApperyio('yourInputName').val(Apperyio.storage.storageVariable.get("$['Name']") + ', ' + Apperyio.storage.storageVariable.get("$['Phone']") + ', ' + Apperyio.storage.storageVariable.get("$['Address']"));/code/pre


Multiple local storage items to one text line.

Posted: Mon Feb 23, 2015 7:29 pm
by Brady McKenna

Thanks. Ill give that a shot