• Resolved gadolinite

    (@gadolinite)


    Hi Team!
    Thanks for an awesome plugin and all the excellent work!

    I have a query that I cannot find answer to:
    I have a Name (name-1-first-name) and Surname (name-1-last-name) field and then a section with two groups (group-1, group-2) consisting of various fields.

    If user enters John in (name-1-first-name) and Doe in (name-1-last-name) then he should only see group-1’s content

    If user enters George in (name-1-first-name) and Macon in (name-1-last-name) then he should only see group-2’s content

    How to get this possible with given name and surname lists? Something like this for group-1:

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @gadolinite

    I hope you are doing well today.

    I’m afraid your goal has 2 issues:

    1. Will it be worth it to place so many conditional logics in a scenario where there are 100 people with their own first names and last names? Placing this manually will be too time-consuming.
    2. Second issue is name or last name which can be the same in both groups. For example:

    John Doe (group1)
    George Doe (group1)
    John Macon (group2)
    George Macon (group2)

    In such scenario if I type John both groups will show up anyway.

    Can you let us know how large is the list and if names or second names repeat by any chance?

    Kind Regards,
    Kris

    Thread Starter gadolinite

    (@gadolinite)

    Hi @wpmudevsupport13

    Thanks so much for the input ! I agree it is quite time consuming… but there are over 300 people going to one event and only 150 going to another. As far as uniqueness is concerned, name and surname will be unique if together.

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @gadolinite,

    If user enters John in (name-1-first-name) and Doe in (name-1-last-name) then he should only see group-1’s content

    If user enters George in (name-1-first-name) and Macon in (name-1-last-name) then he should only see group-2’s content

    Could we know if the condition is only for these example sets of two first and last names? or will there be more names added?

    As stated it can cause too many conditions to be manually added and conflicts based on your reference, if it’s only for a few sets of user names then have you tried to use the existing Visibility Conditions feature?

    ie, for example, instead of using the First name and Last name field, switch it to a Single Name field where the full name could be entered, so you could add the visibility condition to the Field Group field based on the full name as shown below:
    https://i.imgur.com/PejhwoP.png

    Please check the above and see whether it fits your requirement.

    Kind Regards,

    Nithin

    Thread Starter gadolinite

    (@gadolinite)

    Hey @wpmudevsupport11

    Yes I ended up creating two sections of information and combined the Name and Surname as suggested, group-1 is only visible to 150 name and surname variations which allows them to fill in information for two events.

    group-2 is only visible to 150 name and surname variations which they can only fill in information to attend 1 event.

    However I will have to go through the process of manually entering names… It would be great to have a condition like ‘Name is anyOf {“john doe”, “henry cavillier”, “george macon”}’ or even better have them linked to a column in Google Sheets. I assume it will be runtime heavy but I believe we have really fast cloud solutions nowadays ??

    Appreciate the magnificent support!! Keep improving this tool it is incredible and I would love to use Conversational Forms (Much Cleaner than traditional fill-out forms) with Conditional Logic!

    Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @gadolinite,

    Hope this message finds you well.

    As explained by my colleagues, our Group Field Conditionals (in fact, this applies for all our fields Conditionals) feature has some limitations and currently, is not designed to compare from a list.

    However, this might be accomplished using a custom code and not the Conditionals rules due to the number of combinations, even if you add them one by one, it will affect the form performance.

    In such case, I notified our Second Line Support to check if they are able or not to provide a workaround. Since they work on complex issues getting a reply from them could take more time than usual. We will back to this topic once we get an update from them.

    Best regards,
    Laura

    Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @gadolinite,

    We got feedback from our Second Line Support.

    I am afraid a custom code or a custom conditional as in your example is not currently possible. Sorry, we can’t assist at this time, as an alternative, maybe you can use 2 different forms, one for each event.

    Let us know if you require additional information.

    Best regards,
    Laura

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @gadolinite,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to open a new thread if you have new queries.

    Kind Regards
    Nithin

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