• Hello everyone,

    i’ve created a registration form with a role field on top.
    Depending on the role, some fields of my form are shown and hidden.

    First name and last name are marked as “required” for the student role.
    If i fill the form as a university, both fields are hidden and not necessary.

    Unfortunately, the validating errors for both fields are displayed for the “University” role and prevent registration.

    View post on imgur.com

    Is there a solution or a workaround for this use case?

    Regards
    Sven

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @svebal

    I just tried to recreate the issue on my installation but everything seems to work fine on my end. Can you please make sure you have excluded UM pages from the cache?

    Thread Starter svebal

    (@svebal)

    Hello @aswingiri,

    i have no active caching.

    Regards
    Sven

    Thread Starter svebal

    (@svebal)

    Hello @aswingiri,

    i’ve created a minimal example on a fresh standard installation without other plugins.
    [ Test URL deleted ]

    There you can see the same behaviour. If you need access to the backend for further investigation let me now and we can choose a secure channel.

    Regards
    Sven

    • This reply was modified 1 year, 10 months ago by Jan Dembowski.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please never, ever make this offer anywhere. Even for test sites and no I am not kidding.

    If you need access to the backend for further investigation let me now and we can choose a secure channel.

    If @aswingiri does that access, and it always comes out, they could be banned from the forums and the plugin could be closed. It is that serious.

    Had @aswingiri asked for that, and they did not ask for that, I am just explaining, then this would be the reply.

    While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.

    If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.

    Thankfully are other ways to get information you need:

    You get the idea.

    We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.

    When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.

    Plugin Support Aswin Giri

    (@aswingiri)

    Hello @jdembowski

    I am aware of the forum rules and I never asked for it and will never access anyone’s site admin area. Thank you for the reminder though.

    @svebal can you please tell me what version of the plugin you are using?

    Thread Starter svebal

    (@svebal)

    @aswingiri, i’m using Version 2.5.0

    @jdembowski, sorry, i was not aware that rule. Thanks for the advice.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘required fields depending on user role’ is closed to new replies.