Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7632

Javascript error on event registration

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.2, 3.3.3, 3.3.5, 3.4.beta
    • Fix Version/s: 3.3.6
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      When selecting an event fee on the registration form, a javascript error occurs:

      fillTotalAmount is not defined

      This is triggered by onclick="fillTotalAmount(FEEAMOUNT)" in the fee input fields (where FEEAMOUNT is a number). Presumably this is supposed to calculate a total for price sets, but when a price set is not used, there is no total field and the function is not present.

      It doesn't seem to prevent the registration completing and the error is usually ignored on Firefox and Chrome, etc. On Internet Explorer, however, js errors are reported as standard, therefore this could be confusing for users.

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              spikyjt John Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: