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 requiredlast_name
is required
- If payment method is
sepa_dd
:email
is requiredfirst_name
is requiredlast_name
is required- if IBAN country is not in EEA (or equals to "FR"):
street
is requiredzip_code
is requiredcity
is requiredcountry
is requiredstate
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 requiredlast_name
is requiredstreet
is requiredstreet_number
is requiredzip_code
is requiredcity
is requiredcountry
is requiredstate
is required (if states are defined for selected country)
- If
organisationCountryCode
is"AT"
:first_name
is requiredlast_name
is requiredbirthdate
is required
- If
organisationCountryCode
is other or not specified:first_name
is requiredlast_name
is requiredstreet
is requiredzip_code
is requiredcity
is requiredcountry
is requiredstate
is required (if states are defined for selected country)
- If
- If donation receipt checkbox is checked
and
autogeneratedDonationReceiptEnabled
config options is enabled (disabled by default):email
is required