Add field to Opt-in Form - Forum | JoomShaper
Staff replied SP Page Builder

Add field to Opt-in Form

Asked by Marc Lang 4 years ago Last activity 4 years ago

Hi there,

one of my customers has an opt-in-form on the front page as a subscription tool for newsletters. This form is connected to Mailchimp. Problem is, the list he uses there has first name and last name (of the subscriber) as fields. The opt-in form, however, only offers "name", without the possibility to add extra fields. I could edit the script and add an extra field. Where can I find it?

Best
Marc

1 reply

Paul Frankowski Senior Staff
4 years ago · edited

Hi Marc,

Here: components\com_sppagebuilder\addons\optin_form

  1. site.php - display front-end view, generated code
  2. admin.php - is for addon settings

You can override that addon inside template, to not to lose php changes after SPPB update. More in SPPB documenation in How to do section. Now is your turn.

Log in to reply.