• Resolved satarte

    (@satarte)


    Hi!
    I created a custom form for my sidebar and I want to be able to automatically assign users to one of two lists: (1)PL and (2)EN (my website is bilingual).

    I’ve added a following field to the custom newsletter form:
    <input type=”hidden” name=”nl” value=”1″>

    But the user still gets assign to both list, not just to one (1)PL.

    Right now my form looks like that:

    (…)
    <form method=”post” action=”https://www.goethic.com/?na=s&#8221; onsubmit=”return newsletter_check(this)”>

    <input type=”hidden” name=”nlang” value=”pl”>
    <input type=”hidden” name=”nr” value=”widget”>
    <input type=”hidden” name=”nl[]” value=”1″>
    (…)

    Still doesn’t work. Can you help, please?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi, if you’re using the multilanguage feature, you can simply configure a list to be preassigned by language, there is no need to modify the form.

    Stefano.

    Thread Starter satarte

    (@satarte)

    Hi, thank you for your reply, but I tried that too, and it didn’t worked. ??

    I’m using WPML translation plugin. When I sing up from my polish version I still get assigned with both lists – polish and english.

    Thread Starter satarte

    (@satarte)

    Ok, I think it works! I’ve reset the form code to the original and it seems it solved the problem, thank you! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding lists without user explicit selection’ is closed to new replies.