• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • e-RegisterNow Main Website

e-RegisterNow Support

1.888.218.1020

You are here: Support » Archives for variables

variables

Custom Template Variables

April 22, 2016 admin Leave a Comment

Mandatory System Message:

%%mandatory_system_message%%

This variable MUST be included in all custom templates.

Invoice Details:

%%step4_invoice_details%%

This variable displays the invoice table, the printable invoice link, and any company information chosen to be displayed under Edit > Preferences > Step 4.

Invoice Table:

%%step4_invoice_table%%

This variable displays only the invoice table.

The ‘Home’ Button:

<FORM action=”%%step4_form_action%%” method=%%step4_form_method%% name=%%step4_form_name%%>

%%step4_form_hiddendata%%

<input type=submit name=%%step4_form_finishedbutton_name%% value=”%%step4_form_finishedbutton_value%%”>

</FORM>

Clicking on the ‘Home’ button will return the user to the web address specified under Edit > Preferences > Contact Info.

Printable Invoice Link:

%%step4_printable_invoice_link%%

This variable displays a link to a printable invoice. A period is included at the end, since the words ‘printable version’ should go at the end of a sentence.

Filed Under: Step 4 Tagged With: Template, variables

Custom Template Variables

April 21, 2016 admin Leave a Comment

Form Heading:

<FORM name=%%step1_form_name%% action=%%step1_form_action%% method=%%step1_form_method%%>

</FORM>

All form variables go between the above two lines of code.

All the following variables will be replaces with the appropriate data. They must be enclosed between “%% %%” to work (e.g. %%amount_paid%%).

Variables

Variable Variable Definition in Step1
step1_matrix_desc The sentence above the matrix under Preferences
step1_form_selectbox This displays the select box for the registrant to select events. ‘Next’ and ‘Cancel’ buttons must be added seperately, either by adding a Registrant’s Name input box (see above), or each button seperately (see below).

step1_form_matrix This displays textboxes for a registrant to enter their first and last name and the select box for the registrant to select events. The ‘Next’ and ‘Cancel’ buttons can be removed under Edit > Preferences > Step 1. The ‘Français’ button can be turned on and off under Edit > Preferences > Language.

step1_form_registrant_name This displays textboxes for a registrant to enter their first and last name. The ‘Next’ and ‘Cancel’ buttons can be removed under Edit > Preferences > Step 1. The ‘Français’ button can be turned on and off under Edit > Preferences > Language.

step1_default_fullpage Display the whole step1 contents – this will come with <html>, <header>, <body> tags
step1_default Display the whole step1 contents
mandatory_system_message This variable MUST be included in all custom templates.
For Step1 Floor plan: Display important hidden data (state, ticketname)
For Regular Case: Display javascript for Submit buttons (Next, Cancel, Language) and Recall pick list
step1_form_action Step1 form action (/cgi-bin/mkpayment.cgi)
step1_form_name Step1 form name (registerform)
step1_form_method Step1 form method (post)
step1_form_hiddendata This variable MUST be included in all step 1 custom templates. It goes right before the </FORM>.
This returns the important hidden data (state, ticketname, recall PID for picklist)
step1_nextbutton Next button
(<input name=”nextbutton” type=”submit” value=”Next” />)
step1_form_nextbutton_name Next button name (nextbutton)
step1_form_nextbutton_value Next button value (Next)
step1_resetbutton Reset Button (<input name=”resetbutton” type=”submit” value=”Reset” />)
step1_form_resetbutton_name Reset button name (resetbutton)
step1_form_resetbutton_value Reset button value (Reset)
step1_cancelbutton Cancel Button
(<input name=”cancelbutton” type=”submit” value=”Cancel” />)
step1_form_cancelbutton_name Reset button name (cancelbutton)
step1_form_cancelbutton_value Cancel button value (Cancel)
step1_languagebutton Language Button
(<input name=”languagebutton” type=”submit” value=”Francias/English” />)
step1_form_languagebutton_name Language button name (languagebutton)
poweredby Display poweredby eRegister
cashier_banner Cashier Banner
step1_form_current_reg_first_event
form_current_reg_first_event
The first selected event primary key
Promo Code
step1_promoprompt Promo prompt
step1_promobutton Promo submit button
(<input name=”step1_promobutton” type=”submit” value=”xxx” />)
step1_promohidden Promo hidden button
(<input name=”step1_promobutton” type=”hidden” value=”xxx” />)
step1_promobox Promo text box
(<input name=”step1_promobox” type=”text” value=”xxx” />)
step1_promoname Promo code name (step1_promobox)
step1_promovalue Selected Promo Value
Event Filtering
step1_filtering Display the Event Filtering Box
(make sure the filtering is enabled)
step1_filtering_prompt Filtering Prompt
step1_filtering_string Filtering box
(<input maxlength=”100″ name=”step1_filtering_string” size=”12″ type=”text” value=”xxx” />)
step1_filtering_button Filtering submit button
(<input id=”filteringbutton” name=”filteringbutton” type=”submit” value=”Search” />)
InGo Widget
ingo_widget_login Script for InGo Login Widget
ingo_widget InGo Login Widget Box
ingo_widget_css CSS for InGo
Step1 Floor Plan
eventURL[EID] Return the step2 Direct URL if spot available for that event.
(please do not use this. use javascript if possible)
eventJSurl[EID] Return javascript to open the step2 Direct URL if spot available for that event.
(please do not use this. use javascript if possible)
eventTARGET[EID] Return “_blank” if spot available for that event. Return “_self” otherwise.
(please do not use this. use javascript if possible)
eventAVAILABILITY[EID] Return “AVAILABLE” if spot available for that event. Return “TAKEN” otherwise.
(please do not use this. use javascript if possible)
eventSPOTAVAILABLE[EID] Return the # of spots available for that event.
eventMESSAGE1[EID] Return “Message 1” if spot available for that event. Return “Taken.” otherwise.
Merchant Info
merchant_name1 Merchant Account Name
merchant_name2 Secondary Merchant Account Name
merchant_company Company/Organization Name
merchant_name1_url Website Address
merchant_name2_url Secondary Website Address
merchant_company_url Company website
merchant_address Contact Province
merchant_province Contact Province
merchant_city Contact City
merchant_postalcode Contact Postal Code
merchant_country Contact Country
merchant_phone Contact Phone Number
merchant_fax Contact Fax Number
merchant_cell Contact Cellphone Number
merchant_contact_name Contact Name
merchant_contact_email Contact E-mail Address
merchant_chequepayable_name “Make Mailed Cheques Payable To” in Preferences
merchant_chequepayable_address_line1 Mailing Address Line 1
merchant_chequepayable_address_line2 Mailing Address Line 2
merchant_chequepayable_address_line3 Mailing Address Line 3
merchant_chequepayable_address_line4 Mailing Address Line 4

Filed Under: Step 1 Tagged With: variables

eTicket Custom Template Variables

March 22, 2016 admin Leave a Comment

All the following variables will be replaces with the appropriate data. They must be enclosed between “%% %%” to work (e.g. %%amount_paid%%).

Variables

 

Variable Variable Definition in eTickets
total_amount_paid The total amount charged to credit card or other payment type.
amount_paid The event amount charged to credit card or other payment type.
barcode_image barcode as a *.jpg file (e.g. ABC123.jpg)

Note: The barcode number will appear below the image.

barcode_number The code the barcode represents. (e.g. ABC123)
blurb_file Name of the file whose contents are dumped into the eticket.
confirmation_number e-RegisterNow’s reference number (e.g. 1234567)
dateconfirmed The date the transaction occurred. (e.g. 2004-12-25 00:23:00)
datetime A timestamp of the date and time now. (e.g. 2004-12-25 00:23:00)
datetime_yearlater A timestamp of the date and time one year later. ( 2005-12-25 00:23:00)
date A timestamp of the date and time now. (e.g. 2004-12-25)
date_yearlater A timestamp of the date and time one year later. (e.g. 2005-12-25)
date_MDY A timestamp of the date and time one year later. (e.g. December 24, 2005)
date_MDY_yearlater A timestamp of the date and time now. (e.g. December 24, 2004)
date_MMMDDYYYY A timestamp of the date and time now. (e.g. Dec 25, 2004)
date_MMMDDYYYY_yearlater A timestamp of the date and time one year later. (e.g. Dec 25, 2005)
date_YYYYMMMDD A timestamp of the date and time now. (e.g. 2004Dec25)
date_YYYYMMMDD_yearlater A timestamp of the date and time one year later. (e.g. 2005Dec25)
description A long description of the transaction.
effective_date[date_format][yyyymmdd] return the date yyyymmdd (date in the second blacket) if registration date is prior to that date. if not, return the registration date.
e.g.) effective_date[date_format][20160812] reg date Aug 10, 2016 and the date in the variable Aug 12, 2016 -> return Aug 12, 2016
See Date Format Section below for [date_format]
email Ticketholder’s email.
event_badgename Event’s course badgename.
event_categories Event’s course categories, (e.g. camps~sports~day)
event_code Event’s course code.
event_enddate Event’s end date. (e.g. Jun. 30, 2006)
event_endtime Event’s end date and time.
event_instructor Event’s instructor’s name.
event_location Event’s location.
event_name Event’s name.
event_startdate Event’s start date. (e.g. Jun. 30, 2006)
event_startdate_yearlater[date_format] One year from Event’s start date. See Date Format Section below for [date_format]
event_starttime Event’s start date and time.
event_qty[eid] Quantity of the event.
fullname Ticketholder’s full name
message1 Event Message 1
message2 Event Message 2
message3 Event Message 3
paymethod Ticketholder’s payment method (e.g. visa)
question_field=xxx Response to a custom question, where “xxx” represents the custom question’s field name (e.g. question_field=age)
question_field_date=xxx Response to a custom question, where “xxx” represents the custom question’s field name (e.g. question_field=birthdate).  Use this when the response is of datetype.  (e.g. %M %d, %Y)
 question_field_date_yearlater=xxx  Response to a custom question, where “xxx” represents the custom question’s field name (e.g. question_field=birthdate).  Use this when the response is of datetype.  (e.g. %M %d, %Y)
registrant_business_name Company name where registrant works.
registrant_business_address_1 Company’s address line 1.
registrant_business_address_2 Company’s address line 2.
registrant_business_city Company’s city address.
registrant_business_country Company’s country
registrant_business_province Company’s province
registrant_business_postal Company’s postal code.
registrant_business_phone Company’s phone number
registrant_business_jobtitle Registrant’s job title at the company.
registrant_home_address Registrant’s home address
registrant_home_city Registrant’s home city
registrant_home_province Registrant’s home province/state.
registrant_home_postal Registrant’s home postal code/zip code.
registrant_home_country Registrant’s home country.
registrant_home_phone Registrant’s home phone number.
registration_date Date this ticket was purchased.
row Seat row.  (e.g. A)
seat Seat number.  (e.g. 5)
section Seat section.  (e.g. North)
serialnumber Ticket’s serial number
series_no The number of the ticket in the series of tickets purchased.
series_total The total number of tickets purchased.
seriesprice The total price of the ticket series.
subtotal Equals amount paid minus the taxes
tax1amount The dollar amount attributed to tax 1.
tax2amount The dollar amount attributed to tax 2.
tax3amount The dollar amount attributed to tax 3.
tax4amount The dollar amount attributed to tax 4.
tax5amount The dollar amount attributed to tax 5.
tendertype The type of tender used for the payment (e.g. VISA, CASH)
testmode Testmode status, OFF, ACK, or NAK
ticketname The name of the eTicket series.  e.g. Semi-final Basketball Playoff Game 1
ticketprice The ticket price.
ticketlist Displays, ‘Please print each of your tickets. Use the browser’s BACK button to return to print more tickets.’
Date Format
Number Date Format Sample mySQL format mask
0 August 1st, 2016 %M %D, %Y
1 August 1, 2016 %M %e, %Y
2 Aug. 1, 2016 %b. %e, %Y
3 Aug 1, 2016 %b %e, %Y
4 Aug/01/2016 %b/%d/%Y
5 Aug/01/16 %b/%d/%y
6 08/01/2016 %m/%d/%Y
7 08/01/16 %m/%d/%y
8 2016-08-01 %Y-%m-%d
9 16-08-01 %y-%m-%d
10 2016 %Y
none of above use this as format mask

 

Filed Under: eTickets Tagged With: Branding, eTickets variables, Morph, variables

Primary Sidebar

Related

  • Example Custom Template Code
  • Default Templates
  • Default Templates
  • Example Custom Template Code
  • Custom Template Variables

© Copyright 2016 · e-registernow.com · All Rights Reserved · Admin