Skip to content

Pre-data processors

A pre-data processor is executed before a form is submitted. You can use one pre-data processor per form. It pre-fills the form with data.

1
2
ses_forms.configs.my_account:
    preDataProcessor: ses.customer_profile_data.data_processor.pre_fill_my_account 

The following pre-data processors pre-fill the respective forms with data fetched from CustomerProfileData with the help of EzErpCustomerProfileDataService.

Processor Pre-fills Service ID
PreFillBuyerDataProcessor Buyer form ses.customer_profile_data.data_processor.pre_fill_buyer
PreFillContactDataProcessor Contact form ses.customer_profile_data.data_processor.pre_fill_contact
PreFillMyAccountDataProcessor MyAccount form ses.customer_profile_data.data_processor.pre_fill_my_account
PreFillDeliveryAddressDataProcessor Delivery address siso_core.data_processor.pre_fill_delivery_address
PreFillInvoiceDataProcessor Invoice address ses.customer_profile_data.data_processor.pre_fill_invoice

Configuration

The use_single_name_field setting defines whether the first name and surname from the form are stored in one or two separate fields:

1
ses_forms.default.use_single_name_field: true/false