• Resolved Advex

    (@totalfly)


    Hi, how can i display each one of a series of 10 or more hidden dropdown menus always in the second column of the form. The hidden menus will be displayed based on the selection of the first dropdown menu in the left column of the form. there is an option to display a specific field always in the second half of the form?

    thanks a lot

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @totalfly,

    You can drag and drop the fields using your mouse courser and order them as two column layout as shown in the following example:
    https://imgur.com/M9Tecf1

    Doesn’t the above help cover your requirement? You can use visibility conditions to hide the fields on the 2nd column based on your use case as mentioned in the following doc:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#Forminator-Conditional-Logic

    Please do check and advise if I’m missing anything specific regarding your query.

    Best Regards,

    Nithin

    Thread Starter Advex

    (@totalfly)

    hi,

    the problem is the following:

    1. i have a dropdown menu with 10 possible selection in the first half of the page
    2. based in the selection of the first menu i will have to display one of the 10 possible hidden dropdown in the second half of the page

    now, in the page i can put just 4 dropdown in one row.. with the first 3 hidden dropdown menu everything is ok, but if i select the 4th hidden dropdown menu he will displayed full page in a second row, not in the same row..

    so my question is:

    • is it possible to assign just the second half position to each one of the 10 hidden dropdown (that will be displayed in a singular way based in the selection of the first dropdown in the first half?

    my english is not good enough but i hope i explained the issue

    you can see the example here:

    https://www.totalfly.aero/test/

    if you select Aglghero, Cagliari, marina di Campo each one will be displayed in the second half, if you select Olbia or Bergamo for example they will be displayed full page in the second row..

    i would like that all the options will be displayed in the second half in the same row

    • This reply was modified 2 years, 1 month ago by Advex.
    • This reply was modified 2 years, 1 month ago by Advex.
    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @totalfly

    Thanks for response!

    Yes, I got the idea.

    You can easily achieve that with your current form by adding two additional fields to it instead of putting select fields “in line”:

    1. Add two fields of “Field Group” type to the form and drag them at the top of the form
    2. drag these fields next to each other – so they both would be inline (first in left column, second in right column)
    3. edit both these fields and in their “Settings” disable the “Field repeater” option
    4. and then:

    – drag your main select (“Partenza”) into the – inside – left Field Group
    – drag other select fields into the right Field Group

    Note: those fields inside right group don’t have to be “in line”, you just put them one below another.

    And that’s it.

    Here is an example form that you can import to your site to see such configuration and test it:

    https://pastebin.com/mVvBSLwS

    Best regards,
    Adam

    Thread Starter Advex

    (@totalfly)

    Yeah, now is working perfectly.

    one more question, there is any other option to populate a conditional logic dropdown menu without using show/hide options?

    Thanks a lot

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @totalfly

    By “show/hide” option you mean the “Conditions” in “Visibility” settings of the field?

    IF so – then no, there’s no other way. The conditional logic is the way to do it and was designed specifically for that task.

    Best regards,
    Adam

    Thread Starter Advex

    (@totalfly)

    hi, what i mean is if i have 10 options in the first menu, and for each options i will have 5 or more options in the second menu, i will have to create tens of fields..

    i was asking if there is the possibility to “populate” the second menu in other ways..

    if no, it will work also like this, just at the end i will have hundreds of fiels fer each forms

    thanks a lot

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @totalfly

    Thanks for additional explanation!

    This wouldn’t be possible out of the box, I’m afraid.

    It may be doable with a custom code, based on e.g CSV file, using code similar to this

    https://gist.github.com/wpmudev-sls/f48803f0b2ad07bb346b32c68cfde41d

    However, this code is quite old already and may need some significant changes to work and it would also require quite a lot of additional code to match your goals. I’m afraid this kind and amount of custom development is outside of the scope of our support.

    Kind regards,
    Adam

    Thread Starter Advex

    (@totalfly)

    ok, never mind.. in my case i do not have so much fields but i was thinking in the case i will have ??

    in any case your plugin is amazing ??

    thanks

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @totalfly

    ok, never mind.. in my case i do not have so much fields but i was thinking in the case i will have

    Well… the plugin is constantly evolving. We are actively developing it adding new features and improvements so while it’s not doable at the moment, there’s a chance that it may be at some point in future. I’m not making promises but there is a possibility ??

    in any case your plugin is amazing

    Thank you for your kind words! I’m happy that you like it!

    Best regards,
    Adam

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Hidden fields displayed in the same position’ is closed to new replies.