Bort Hello folks! I have a multilingual homepage. According to regulations, I have to do opt-in on the newsletter form. That means I followed the instructions from the AcyMailing manual: https://docs.acymailing.com/setup/subscription-to-your-lists/rsform-pro-integration#integrate-using-php-code It works fine in English, because of the check for "identical 'Yes'" or "=== 'Yes' from this code-line: if (!empty($postData['newsletters']) && $postData['newsletters'] === 'Yes') { It does not work in German. Any suggestions on how to check for first and second value? Registration form: https://cbolero.com/en/start-now/applicant/registration Thanks, Bort
jvstratum Hi, Please try this: if (!empty($postData['newsletters']) && ($postData['newsletters'] == 'Yes' || $postData['newsletters'] == 'Ja')) { You might want to add your other languages as well.
Bort Sometimes the answer can be so easy. I was thinking way too difficult. 🙂 I guess, it will work that way... If not, I promise to show it up here. Thanks!