• Resolved mionigba

    (@mionigba)


    Hello Sir,

    There’s a Logic I need to implement in my Project, but I don’t know if I will be able to implement it with AR Member Registration Form!

    THE LOGIC
    There are 36 States, and each State has multiple Local Governments.

    Each Local Government has multiple Wards.

    And each Ward has multiple Polling Units.

    For clarity, I will use 3 States as example:

    1.) STATE: Lagos || LOCAL GOVERNMENTS: 20 || WARDS: 8 wards || POLLING UNITS: 16

    2.) STATE: Kaduna || LOCAL GOVERNMENTS: 15 || WARDS: 12 wards || POLLING UNITS: 24

    3.) STATE: Ondo || LOCAL GOVERNMENTS: 16 || WARDS: 10 wards || POLLING UNITS: 18

    THE LOGIC
    State, Local Government, Ward and Polling Unit are all Dropdown Fields.

    If the user selects a State, the Local Government, Ward and Polling Unit fields should only allow selection of content limited to the chosen State.

    So that, if I select Lagos as my State, I should have option to select only one Local Government from the list of Local Governments that are only in Lagos, and should only be able to select one from the list of Wards that are only in the Local Government that I have chosen, which is in Lagos.

    When I have chosen that Ward that is within a Local Government, that is in Lagos State, I should be able to select only Polling Units within that Ward.

    But if I select Kaduna as my State, I should have option to select only one Local Government from the list of Local Governments that are only in Kaduna, and should only be able to select one Ward from the list of Wards that are only in the Local Government that I have chosen, which is in Kaduna.

    When I have chosen that Ward that is within a Local Government, that is in Kaduna State, I should be able to select only one Polling Unit within that Ward.

    In essence, the value that can be selected in Local Government, Ward and Polling Unit fields are dynamically populated according to the State chosen.

    As an example from this website ( https://pre.cac.gov.ng ), you will see that when I select Lagos as State here — https://prnt.sc/YFVdxltorzE5

    Or Kaduna as State here — https://prnt.sc/Z2ymzonOq8uQ

    You will see that the LGA or Local Government Area information changes.

    THE PROBLEM
    I don’t know if I will be able to implement this Logic with AR Member Registration Form!

    Needing to hear from you soon.

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support dimplemodi

    (@dimplemodi)

    Hello,

    As per your request it seems that you are willing to implement conditional logic to the fields, if so then unfortunately currently it will not be possible to implement this with ARMember Lite.

    Please let me know if there is anything else.

    Thanks

    Thread Starter mionigba

    (@mionigba)

    If you say that what I am asking for, is “conditional logic“,

    Can this be possible with ARMember Pro?

    Regards.

    Plugin Support dimplemodi

    (@dimplemodi)

    I am sorry it’s not.

    • This reply was modified 3 months, 2 weeks ago by dimplemodi.
    Thread Starter mionigba

    (@mionigba)

    Since I’m in such a difficult situation– where ARMember does not have “Conditional Logic” in your Registration Form, I am so stuck on moving forward, and using ARMember as my choice plugin for my membership website.

    Is there a possibility that you can provide me with PHP Code Snippets that can help me achieve it?

    Now, Ultimate Member has this feature called “Choices callback” — as seen here — https://docs.ultimatemember.com/article/1539-choices-callback-feature-in-um-2-1

    And they show us how to use it here — https://docs.ultimatemember.com/article/1486-how-to-use-choices-callback

    You will notice that, it seems to be what I am looking for, and it wasn’t implemented through Conditional Logic.

    Would you, or anyone in your ARMember team be able to help me provide PHP Code Snippets that will be able to solve such a problem?

    Needing to hear from you soon.

    Regards.

    Plugin Support dimplemodi

    (@dimplemodi)

    Hello,

    I have noticed that you are using the ARMember Premium version, but this forum is limited for the ARMember Lite related queries only therefore I cannot assist you here for the premium version due to forum limitations. But kindly open a support ticket and then technical support staff will help you further into this.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.