Brady McKenna
Posts: 0
Joined: Fri Feb 20, 2015 2:32 am

Multiple local storage items to one text line.

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Multiple local storage items to one text line.

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

Brady McKenna
Posts: 0
Joined: Fri Feb 20, 2015 2:32 am

Multiple local storage items to one text line.

Thanks. Ill give that a shot

Return to “Issues”