• Resolved matmws

    (@matmws)


    Hi,

    I have 3 subscriptions forms with 3 custom fields (checkbox) for GRPD.
    My problem is that on the manage subscription page, with the [mailpoet_manage_subscription] shortcode, those checkboxes are also here. But since they are all mandatory, the user have to check them all in order to save his subscriptions.

    I would like to know how to disable them on this page, since hiding them with css isn’t working because they are mandatory.

    Thanks in advance !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @matmws,

    Thanks for reaching out!

    You can do it with a filter mailpoet_manage_subscription_page_form_fields as described in this doc: https://kb.mailpoet.com/article/222-customize-your-manage-subscription-page

    You can get the ID of your custom field for the code snippet if you edit an email and add your custom field as a shortcode. For example, Water and Power are my custom fields:

    Shortcake
    Link to image: https://d.pr/i/cJP9Wv

    After I insert one of them, I see [subscriber:cf_16]

    So cf_16 should go to your code snippet.

    Hope it helps, please let us know if you need further assistance!

    Thread Starter matmws

    (@matmws)

    Hi, thanks for the quick reply !

    I just took a look in depth at the doc, and it did the trick !

    Thanks a lot and have a nice day !

    Hi there @matmws,

    I’m glad to hear that it worked ??

    Let us know if you need further help.

    Enjoy the rest of your day and stay safe!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable custom field on manage subscription page’ is closed to new replies.