ek logo
Plymouth Rocket
  • CLOSE THIS WINDOW
  • Plymouth Rocket
    • AnswerKeeper
    • General
    • PLA
    • PR Study Rooms
    • Troubleshooting
  • EventKeeper
    • EK Mars
    • Events
    • Feeds
    • Introduction
    • Keywords
    • Kiosks
    • Setup
    • Troubleshooting
    • Use
  • EKRegistration
    • Authentication
    • Emails
    • Introduction
    • Setup
    • Templates
    • Text-Email Reminders
    • Use
  • EKRooms
    • Emails
    • Introduction
    • Matrix
    • Setup
    • Troubleshooting
    • Use
  • TixKeeper
    • Custom URLs
    • Design
    • Managing Reservations
    • Pass Availability
    • Pass Configurations
    • Patron Access
    • Printable Passes and e-tickets
    • Staff Editors
  • KitKeeper
    • Authentication
    • Emails
    • Introduction
    • Reservations
    • Setup
    • Tracking
    • Training
    • Use
AK HAWK 2019.04.01 - 10:00 PM

1 Question(s)


WINGNUT


Show All
AnswerKeeper : Plymouth Rocket
AnswerKeeper : Plymouth Rocket
EKRegistration : Setup
EKRegistration : Setup


How do I create an EKRegistration form that calculates ticket price totals?
+
How do I create an EKRegistration form that calculates ticket price totals?
+

This form allows patrons and staff to register for tickets for a program.  The form displays the number of tickets purchased as well as calulates the total money owed by the patron. 

Why this is great

Staff can now keep track of ticket sales in EK and use the confirmation email (which includes the ticket and dollar totals) as a receipt.

Why we don't use it much

Since the form requires the use of javascript, it is a little unweildy to set up.  See Plymouth Church (org code PC) and The Dover PL (org code DTL) for examples of this form.

How to set it up

  • Set up a form per usual
  • Enter in this code into the Form Scripts field.  Don't see that field?  You need to be signed in as SYS to see it.

function AutoCalc()
{
  var e1 = document.DynaForm.DF_ELEM_4;
  var e2 = document.DynaForm.DF_ELEM_5;
  var e3 = document.DynaForm.DF_ELEM_6;

  if (e2.selectedIndex == 0)
    var m = 52;
  else if (e2.selectedIndex == 1)
    var m = 12;
  else
    var m = 1;

 e3.value = (e1.value * m );
}

  • all the "var" and "DF_ELEM" tags are defined in the custom fields portion of the form set up.  Basically you have to set up the form as you would like it in teh custom fields portion and then add this functionality to it later.  ie make the "ticket price" field and then attach this script to it.

Here is what the form then looks like:

 

amounts



Direct Link = www.answerkeeper.com/ekreg_dollaramounts

This form allows patrons and staff to register for tickets for a program.  The form displays the number of tickets purchased as well as calulates the total money owed by the patron. 

Why this is great

Staff can now keep track of ticket sales in EK and use the confirmation email (which includes the ticket and dollar totals) as a receipt.

Why we don't use it much

Since the form requires the use of javascript, it is a little unweildy to set up.  See Plymouth Church (org code PC) and The Dover PL (org code DTL) for examples of this form.

How to set it up

  • Set up a form per usual
  • Enter in this code into the Form Scripts field.  Don't see that field?  You need to be signed in as SYS to see it.

function AutoCalc()
{
  var e1 = document.DynaForm.DF_ELEM_4;
  var e2 = document.DynaForm.DF_ELEM_5;
  var e3 = document.DynaForm.DF_ELEM_6;

  if (e2.selectedIndex == 0)
    var m = 52;
  else if (e2.selectedIndex == 1)
    var m = 12;
  else
    var m = 1;

 e3.value = (e1.value * m );
}

  • all the "var" and "DF_ELEM" tags are defined in the custom fields portion of the form set up.  Basically you have to set up the form as you would like it in teh custom fields portion and then add this functionality to it later.  ie make the "ticket price" field and then attach this script to it.

Here is what the form then looks like:

 

amounts

522 Direct Link = www.answerkeeper.com/ekreg_dollaramounts
42 Bay Shore Drive
Plymouth, MA
855.365.5000

Plymouth Rocket, Inc.
CLOSE THIS WINDOW

Plymouth Rocket, Inc.





42 Bay Shore Dr.
Plymouth, MA
855.365.5000
CLOSE THIS WINDOW