customizeEcard

Rewrites the eCard campaign page page

ecardSuccessRedirect

Attempt to redirect user to stashed 'ECARD_SUCCESS_URL', if available, with optional recipient data. Afterward, clear data.

EcardRedirectData

Class for implementing local storage.

Parameters

set

Hard set the data.

Parameters

Returns any string String value of cookie.

get

Retrieve data

Returns any string|undefined

extractEcardRecipients

Extract array of recipients from ecard recipient textarea input.

Parameters

Returns any array

modifyEcardFormRow

rearranges one row of the standard eCard form

Parameters

modifyEcardForm

Reformats the eCard form to match the designs

Returns [type] [description]

stashEcardRedirectData

Stash ecard redirect url & recipients so that we it can be used to redirect user after successful ecard send.

$body

The scripts here apply to eCard campaign page