{"id":682,"date":"2016-04-21T15:18:27","date_gmt":"2016-04-21T19:18:27","guid":{"rendered":"http:\/\/e-registernow.com\/support\/?p=682"},"modified":"2017-12-21T11:27:48","modified_gmt":"2017-12-21T16:27:48","slug":"custom-template-variables-step1","status":"publish","type":"post","link":"https:\/\/e-registernow.com\/support\/custom-template-variables-step1\/","title":{"rendered":"Custom Template Variables"},"content":{"rendered":"<p>Form Heading:<\/p>\n<p>&lt;FORM name=%%step1_form_name%% action=%%step1_form_action%% method=%%step1_form_method%%&gt;<\/p>\n<p>&lt;\/FORM&gt;<\/p>\n<p>All form variables go between the above two lines of code.<\/p>\n<p>All the following variables will be replaces with the appropriate data. They must be enclosed between &#8220;%% %%&#8221; to work (e.g. %%amount_paid%%).<\/p>\n<h4>Variables<\/h4>\n<table class=\"variables\" style=\"height: 2228px;\" width=\"1375\">\n<tbody>\n<tr>\n<th>Variable<\/th>\n<th>Variable Definition in Step1<\/th>\n<\/tr>\n<tr>\n<td>step1_matrix_desc<\/td>\n<td>The sentence above the matrix under Preferences<\/td>\n<\/tr>\n<tr>\n<td>step1_form_selectbox<\/td>\n<td>This displays the select box for the registrant to select events. &#8216;Next&#8217; and &#8216;Cancel&#8217; buttons must be added seperately, either by adding a Registrant&#8217;s Name input box (see above), or each button seperately (see below).<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/help\/screenshots\/branding_1_selectbox.gif\" \/><\/td>\n<\/tr>\n<tr>\n<td>step1_form_matrix<\/td>\n<td>This displays textboxes for a registrant to enter their first and last name and the select box for the registrant to select events. The &#8216;Next&#8217; and &#8216;Cancel&#8217; buttons can be removed under Edit &gt; Preferences &gt; Step 1. The &#8216;Fran\u00e7ais&#8217; button can be turned on and off under Edit &gt; Preferences &gt; Language.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/help\/screenshots\/branding_1_matrix.gif\" border=\"1\" \/><\/td>\n<\/tr>\n<tr>\n<td>step1_form_registrant_name<\/td>\n<td>This displays textboxes for a registrant to enter their first and last name. The &#8216;Next&#8217; and &#8216;Cancel&#8217; buttons can be removed under Edit &gt; Preferences &gt; Step 1. The &#8216;Fran\u00e7ais&#8217; button can be turned on and off under Edit &gt; Preferences &gt; Language.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/help\/screenshots\/branding_1_regname.gif\" border=\"1\" \/><\/td>\n<\/tr>\n<tr>\n<td>step1_default_fullpage<\/td>\n<td>Display the whole step1 contents &#8211; this will come with &lt;html&gt;, &lt;header&gt;, &lt;body&gt; tags<\/td>\n<\/tr>\n<tr>\n<td>step1_default<\/td>\n<td>Display the whole step1 contents<\/td>\n<\/tr>\n<tr>\n<td>mandatory_system_message<\/td>\n<td>This variable MUST be included in all custom templates.<br \/>\n<b>For Step1 Floor plan:<\/b> Display important hidden data (state, ticketname)<br \/>\n<b>For Regular Case:<\/b> Display javascript for Submit buttons (Next, Cancel, Language) and Recall pick list<\/td>\n<\/tr>\n<tr>\n<td>step1_form_action<\/td>\n<td>Step1 form action (\/cgi-bin\/mkpayment.cgi)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_name<\/td>\n<td>Step1 form name (registerform)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_method<\/td>\n<td>Step1 form method (post)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_hiddendata<\/td>\n<td>This variable MUST be included in all step 1 custom templates. It goes right before the &lt;\/FORM&gt;.<br \/>\nThis returns the important hidden data (state, ticketname, recall PID for picklist)<\/td>\n<\/tr>\n<tr>\n<td>step1_nextbutton<\/td>\n<td>Next button <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/help\/screenshots\/branding_1_nextbut.gif\" \/><br \/>\n(&lt;input name=&#8221;nextbutton&#8221; type=&#8221;submit&#8221; value=&#8221;Next&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_nextbutton_name<\/td>\n<td>Next button name (nextbutton)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_nextbutton_value<\/td>\n<td>Next button value (Next)<\/td>\n<\/tr>\n<tr>\n<td>step1_resetbutton<\/td>\n<td>Reset Button (&lt;input name=&#8221;resetbutton&#8221; type=&#8221;submit&#8221; value=&#8221;Reset&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_resetbutton_name<\/td>\n<td>Reset button name (resetbutton)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_resetbutton_value<\/td>\n<td>Reset button value (Reset)<\/td>\n<\/tr>\n<tr>\n<td>step1_cancelbutton<\/td>\n<td>Cancel Button <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/help\/screenshots\/branding_1_cancelbut.gif\" \/><br \/>\n(&lt;input name=&#8221;cancelbutton&#8221; type=&#8221;submit&#8221; value=&#8221;Cancel&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_cancelbutton_name<\/td>\n<td>Reset button name (cancelbutton)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_cancelbutton_value<\/td>\n<td>Cancel button value (Cancel)<\/td>\n<\/tr>\n<tr>\n<td>step1_languagebutton<\/td>\n<td>Language Button <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/help\/screenshots\/branding_1_languagebut.gif\" \/><br \/>\n(&lt;input name=&#8221;languagebutton&#8221; type=&#8221;submit&#8221; value=&#8221;Francias\/English&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_form_languagebutton_name<\/td>\n<td>Language button name (languagebutton)<\/td>\n<\/tr>\n<tr>\n<td>poweredby<\/td>\n<td>Display poweredby eRegister<\/td>\n<\/tr>\n<tr>\n<td>cashier_banner<\/td>\n<td>Cashier Banner<\/td>\n<\/tr>\n<tr>\n<td>step1_form_current_reg_first_event<br \/>\nform_current_reg_first_event<\/td>\n<td>The first selected event primary key<\/td>\n<\/tr>\n<tr>\n<th colspan=\"2\">Promo Code<\/th>\n<\/tr>\n<tr>\n<td>step1_promoprompt<\/td>\n<td>Promo prompt<\/td>\n<\/tr>\n<tr>\n<td>step1_promobutton<\/td>\n<td>Promo submit button<br \/>\n(&lt;input name=&#8221;step1_promobutton&#8221; type=&#8221;submit&#8221; value=&#8221;xxx&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_promohidden<\/td>\n<td>Promo hidden button<br \/>\n(&lt;input name=&#8221;step1_promobutton&#8221; type=&#8221;hidden&#8221; value=&#8221;xxx&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_promobox<\/td>\n<td>Promo text box<br \/>\n(&lt;input name=&#8221;step1_promobox&#8221; type=&#8221;text&#8221; value=&#8221;xxx&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_promoname<\/td>\n<td>Promo code name (step1_promobox)<\/td>\n<\/tr>\n<tr>\n<td>step1_promovalue<\/td>\n<td>Selected Promo Value<\/td>\n<\/tr>\n<tr>\n<th colspan=\"2\">Event Filtering<\/th>\n<\/tr>\n<tr>\n<td>step1_filtering<\/td>\n<td>Display the Event Filtering Box<br \/>\n(make sure the filtering is enabled)<\/td>\n<\/tr>\n<tr>\n<td>step1_filtering_prompt<\/td>\n<td>Filtering Prompt<\/td>\n<\/tr>\n<tr>\n<td>step1_filtering_string<\/td>\n<td>Filtering box<br \/>\n(&lt;input maxlength=&#8221;100&#8243; name=&#8221;step1_filtering_string&#8221; size=&#8221;12&#8243; type=&#8221;text&#8221; value=&#8221;xxx&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<td>step1_filtering_button<\/td>\n<td>Filtering submit button<br \/>\n(&lt;input id=&#8221;filteringbutton&#8221; name=&#8221;filteringbutton&#8221; type=&#8221;submit&#8221; value=&#8221;Search&#8221; \/&gt;)<\/td>\n<\/tr>\n<tr>\n<th colspan=\"2\">InGo Widget<\/th>\n<\/tr>\n<tr>\n<td>ingo_widget_login<\/td>\n<td>Script for InGo Login Widget<\/td>\n<\/tr>\n<tr>\n<td>ingo_widget<\/td>\n<td>InGo Login Widget Box<\/td>\n<\/tr>\n<tr>\n<td>ingo_widget_css<\/td>\n<td>CSS for InGo<\/td>\n<\/tr>\n<tr>\n<th colspan=\"2\">Step1 Floor Plan<\/th>\n<\/tr>\n<tr>\n<td>eventURL[EID]<\/td>\n<td>Return the step2 Direct URL if spot available for that event.<br \/>\n(please do not use this. use javascript if possible)<\/td>\n<\/tr>\n<tr>\n<td>eventJSurl[EID]<\/td>\n<td>Return javascript to open the step2 Direct URL if spot available for that event.<br \/>\n(please do not use this. use javascript if possible)<\/td>\n<\/tr>\n<tr>\n<td>eventTARGET[EID]<\/td>\n<td>Return &#8220;_blank&#8221; if spot available for that event. Return &#8220;_self&#8221; otherwise.<br \/>\n(please do not use this. use javascript if possible)<\/td>\n<\/tr>\n<tr>\n<td>eventAVAILABILITY[EID]<\/td>\n<td>Return &#8220;AVAILABLE&#8221; if spot available for that event. Return &#8220;TAKEN&#8221; otherwise.<br \/>\n(please do not use this. use javascript if possible)<\/td>\n<\/tr>\n<tr>\n<td>eventSPOTAVAILABLE[EID]<\/td>\n<td>Return the # of spots available for that event.<\/td>\n<\/tr>\n<tr>\n<td>eventMESSAGE1[EID]<\/td>\n<td>Return &#8220;Message 1&#8221; if spot available for that event. Return &#8220;Taken.&#8221; otherwise.<\/td>\n<\/tr>\n<tr>\n<th colspan=\"2\">Merchant Info<\/th>\n<\/tr>\n<tr>\n<td>merchant_name1<\/td>\n<td>Merchant Account Name<\/td>\n<\/tr>\n<tr>\n<td>merchant_name2<\/td>\n<td>Secondary Merchant Account Name<\/td>\n<\/tr>\n<tr>\n<td>merchant_company<\/td>\n<td>Company\/Organization Name<\/td>\n<\/tr>\n<tr>\n<td>merchant_name1_url<\/td>\n<td>Website Address<\/td>\n<\/tr>\n<tr>\n<td>merchant_name2_url<\/td>\n<td>Secondary Website Address<\/td>\n<\/tr>\n<tr>\n<td>merchant_company_url<\/td>\n<td>Company website<\/td>\n<\/tr>\n<tr>\n<td>merchant_address<\/td>\n<td>Contact Province<\/td>\n<\/tr>\n<tr>\n<td>merchant_province<\/td>\n<td>Contact Province<\/td>\n<\/tr>\n<tr>\n<td>merchant_city<\/td>\n<td>Contact City<\/td>\n<\/tr>\n<tr>\n<td>merchant_postalcode<\/td>\n<td>Contact Postal Code<\/td>\n<\/tr>\n<tr>\n<td>merchant_country<\/td>\n<td>Contact Country<\/td>\n<\/tr>\n<tr>\n<td>merchant_phone<\/td>\n<td>Contact Phone Number<\/td>\n<\/tr>\n<tr>\n<td>merchant_fax<\/td>\n<td>Contact Fax Number<\/td>\n<\/tr>\n<tr>\n<td>merchant_cell<\/td>\n<td>Contact Cellphone Number<\/td>\n<\/tr>\n<tr>\n<td>merchant_contact_name<\/td>\n<td>Contact Name<\/td>\n<\/tr>\n<tr>\n<td>merchant_contact_email<\/td>\n<td>Contact E-mail Address<\/td>\n<\/tr>\n<tr>\n<td>merchant_chequepayable_name<\/td>\n<td>&#8220;Make Mailed Cheques Payable To&#8221; in Preferences<\/td>\n<\/tr>\n<tr>\n<td>merchant_chequepayable_address_line1<\/td>\n<td>Mailing Address Line 1<\/td>\n<\/tr>\n<tr>\n<td>merchant_chequepayable_address_line2<\/td>\n<td>Mailing Address Line 2<\/td>\n<\/tr>\n<tr>\n<td>merchant_chequepayable_address_line3<\/td>\n<td>Mailing Address Line 3<\/td>\n<\/tr>\n<tr>\n<td>merchant_chequepayable_address_line4<\/td>\n<td>Mailing Address Line 4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Form Heading: &lt;FORM name=%%step1_form_name%% action=%%step1_form_action%% method=%%step1_form_method%%&gt; &lt;\/FORM&gt; 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 &#8220;%% %%&#8221; 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[271],"tags":[188],"class_list":{"0":"post-682","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-step-1","7":"tag-variables","8":"entry"},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7kUZg-b0","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/comments?post=682"}],"version-history":[{"count":11,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/682\/revisions"}],"predecessor-version":[{"id":1097,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/682\/revisions\/1097"}],"wp:attachment":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/media?parent=682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/categories?post=682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/tags?post=682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}