Skip to main content

Required fields

Depending of different conditions, Tamaro automatically shows some blocks and fields, ignoring the values specified in showBlocks and showFields config options for these fields (or blocks in which these fields are rendered), and also makes them required.

This may be overruled by forceShowBlocks, forceShowFields and forcePaymentValidations config options, but if you use these config options, you MUST be sure to pass the data for all required fields by yourself (using hidden fields).

Current main rules:
(Tamaro actually has more rules, these are just the most important ones)

  • If payment type is recurring:
    • email is required
  • If payment method is card:
    • first_name is required
    • last_name is required
  • If payment method is sepa_dd:
    • email is required
    • first_name is required
    • last_name is required
    • if IBAN country is not in EEA (or equals to "FR"):
      • street is required
      • zip_code is required
      • city is required
      • country is required
      • state is required (if states are defined for selected country)
  • If stored_customer_email_permission checkbox is checked:
    • email is required
  • If stored_is_company_donation checkbox is checked:
    • stored_customer_company is required
  • If donation receipt checkbox is checked and if donationReceiptRequiresFields config options is enabled (enabled by default):
    • If organisationCountryCode is "CH", "DE" or "US":
      • first_name is required
      • last_name is required
      • street is required
      • street_number is required
      • zip_code is required
      • city is required
      • country is required
      • state is required (if states are defined for selected country)
    • If organisationCountryCode is "AT":
      • first_name is required
      • last_name is required
      • birthdate is required
    • If organisationCountryCode is other or not specified:
      • first_name is required
      • last_name is required
      • street is required
      • zip_code is required
      • city is required
      • country is required
      • state is required (if states are defined for selected country)
  • If donation receipt checkbox is checked and autogeneratedDonationReceiptEnabled config options is enabled (disabled by default):
    • email is required